aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c
index 0b2f601e8caf..85257f6b9576 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_main.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c
@@ -664,7 +664,7 @@ static void unicast_arp_send(struct sk_buff *skb, struct net_device *dev,
664 skb_push(skb, sizeof *phdr); 664 skb_push(skb, sizeof *phdr);
665 __skb_queue_tail(&path->queue, skb); 665 __skb_queue_tail(&path->queue, skb);
666 666
667 if (path_rec_start(dev, path)) { 667 if (!path->query && path_rec_start(dev, path)) {
668 spin_unlock_irqrestore(&priv->lock, flags); 668 spin_unlock_irqrestore(&priv->lock, flags);
669 path_free(dev, path); 669 path_free(dev, path);
670 return; 670 return;