]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
IPoIB: Pass correct pointer when flushing child interfaces
authorLeonid Arsh <leonida@voltaire.com>
Fri, 24 Mar 2006 23:47:25 +0000 (15:47 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 24 Mar 2006 23:47:25 +0000 (15:47 -0800)
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>
drivers/infiniband/ulp/ipoib/ipoib_ib.c

index a1f5a05f2f363f7dcb6815c1ade4e635866109cc..f2be500f62c8d43eb47f80d0582284adb21e3ca3 100644 (file)
@@ -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);
 }