diff options
author | Tony Lindgren <tony@atomide.com> | 2012-02-20 10:11:08 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-20 10:11:08 -0800 |
commit | 856c5403462419eff9a7891efeee7bddc2a08af6 (patch) | |
tree | 2f4bb681e10ec1f895600fa0a4b0b177dadf6fb4 /drivers/infiniband/ulp/ipoib/ipoib_multicast.c | |
parent | b0ee4e394009f02a1d1b166091a19e8b842b4ea4 (diff) | |
parent | d517110243130965e2803cc2373d434bdaf6dafb (diff) | |
download | op-kernel-dev-856c5403462419eff9a7891efeee7bddc2a08af6.zip op-kernel-dev-856c5403462419eff9a7891efeee7bddc2a08af6.tar.gz |
Merge branch 'fixes-mmc' into fixes
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib_multicast.c')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_multicast.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c index f7ff9dd..20ebc6f 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c @@ -262,21 +262,13 @@ static int ipoib_mcast_join_finish(struct ipoib_mcast *mcast, netif_tx_lock_bh(dev); while (!skb_queue_empty(&mcast->pkt_queue)) { struct sk_buff *skb = skb_dequeue(&mcast->pkt_queue); - struct dst_entry *dst = skb_dst(skb); - struct neighbour *n = NULL; netif_tx_unlock_bh(dev); skb->dev = dev; - if (dst) - n = dst_get_neighbour_noref_raw(dst); - if (!dst || !n) { - /* put pseudoheader back on for next time */ - skb_push(skb, sizeof (struct ipoib_pseudoheader)); - } - if (dev_queue_xmit(skb)) ipoib_warn(priv, "dev_queue_xmit failed to requeue packet\n"); + netif_tx_lock_bh(dev); } netif_tx_unlock_bh(dev); |