]> err.no Git - linux-2.6/commit
IPoIB: reinitialize path struct's completion for every query
authorRoland Dreier <rolandd@cisco.com>
Tue, 29 Nov 2005 05:20:34 +0000 (21:20 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 29 Nov 2005 05:20:34 +0000 (21:20 -0800)
commit65c7eddaba33995e013ef3c04718f6dc8fdf2335
tree5f96a0797d23e7cee4f2a6c4770bacadee31a261
parentbf6d9e23a36c8a01bf6fbb945387d8ca3870ff71
IPoIB: reinitialize path struct's completion for every query

It's possible that IPoIB will issue multiple SA queries for the same
path struct.  Therefore the struct's completion needs to be
initialized for each query rather than only once when the struct is
allocated, or else we might not wait long enough for later queries to
finish and free the path struct too soon.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c