Skip to content

Commit

Permalink
IPoIB: always set path->query to NULL when query finishes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roland Dreier committed Nov 29, 2005
1 parent 65c7edd commit 5872a9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/infiniband/ulp/ipoib/ipoib_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5872a9f

Please sign in to comment.