IPoIB: Pass correct pointer when flushing child interfaces
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>
This commit is contained in:
parent
b2fd16b4ff
commit
6f633c8d69
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue