Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f633c8d authored by Leonid Arsh's avatar Leonid Arsh Committed by Roland Dreier
Browse files

IPoIB: Pass correct pointer when flushing child interfaces



ipoib_ib_dev_flush() should get passed cpriv->dev, not &cpriv->dev.

Signed-off-by: default avatarLeonid Arsh <leonida@voltaire.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent b2fd16b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -605,7 +605,7 @@ void ipoib_ib_dev_flush(void *_dev)

	/* Flush any child interfaces too */
	list_for_each_entry(cpriv, &priv->child_intfs, list)
		ipoib_ib_dev_flush(&cpriv->dev);
		ipoib_ib_dev_flush(cpriv->dev);

	mutex_unlock(&priv->vlan_mutex);
}