aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2005-11-29 13:13:54 -0500
committerRoland Dreier <rolandd@cisco.com>2005-11-29 13:13:54 -0500
commit5872a9fc28e6cd3a4e51479a50970d19a01573b3 (patch)
tree993e77f7c00b7bc296e96f0cec1c98ea28a0436a /drivers/infiniband
parent65c7eddaba33995e013ef3c04718f6dc8fdf2335 (diff)
IPoIB: always set path->query to NULL when query finishes
Always set path->query to NULL when the SA path record query completes, rather than only when we don't have an address handle. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c
index cd58b3ddd9c4..826d7a73ef84 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_main.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c
@@ -398,9 +398,9 @@ static void path_rec_completion(int status,
398 while ((skb = __skb_dequeue(&neigh->queue))) 398 while ((skb = __skb_dequeue(&neigh->queue)))
399 __skb_queue_tail(&skqueue, skb); 399 __skb_queue_tail(&skqueue, skb);
400 } 400 }
401 } else 401 }
402 path->query = NULL;
403 402
403 path->query = NULL;
404 complete(&path->done); 404 complete(&path->done);
405 405
406 spin_unlock_irqrestore(&priv->lock, flags); 406 spin_unlock_irqrestore(&priv->lock, flags);