IPoIB: Fix skb leak when freeing neighbour
[safe/jmp/linux-2.6] / drivers / infiniband / ulp / ipoib / ipoib_multicast.c
index 3faa182..d282d65 100644 (file)
@@ -114,7 +114,7 @@ static void ipoib_mcast_free(struct ipoib_mcast *mcast)
                 */
                if (neigh->ah)
                        ipoib_put_ah(neigh->ah);
-               ipoib_neigh_free(neigh);
+               ipoib_neigh_free(dev, neigh);
        }
 
        spin_unlock_irqrestore(&priv->lock, flags);