projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65c7edd
)
IPoIB: always set path->query to NULL when query finishes
author
Roland Dreier
<rolandd@cisco.com>
Tue, 29 Nov 2005 18:13:54 +0000
(10:13 -0800)
committer
Roland Dreier
<rolandd@cisco.com>
Tue, 29 Nov 2005 18:13:54 +0000
(10:13 -0800)
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>
drivers/infiniband/ulp/ipoib/ipoib_main.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/ipoib/ipoib_main.c
b/drivers/infiniband/ulp/ipoib/ipoib_main.c
index cd58b3ddd9c4f91e893bf9a4984fc8900f7fab83..826d7a73ef8481c3834f69554cadf3d7ff3d26c3 100644
(file)
--- 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,
while ((skb = __skb_dequeue(&neigh->queue)))
__skb_queue_tail(&skqueue, skb);
}
- } else
- path->query = NULL;
+ }
+ path->query = NULL;
complete(&path->done);
spin_unlock_irqrestore(&priv->lock, flags);