Skip to content

Commit

Permalink
IPoIB: Pass correct pointer when flushing child interfaces
Browse files Browse the repository at this point in the history
ipoib_ib_dev_flush() should get passed cpriv->dev, not &cpriv->dev.

Signed-off-by: Leonid Arsh <leonida@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information
Leonid Arsh authored and Roland Dreier committed Mar 24, 2006
1 parent b2fd16b commit 6f633c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/ulp/ipoib/ipoib_ib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6f633c8

Please sign in to comment.