IPoIB: reinitialize mcast structs' completions for every query
authorMichael S. Tsirkin <mst@mellanox.co.il>
Tue, 29 Nov 2005 18:18:45 +0000 (10:18 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 29 Nov 2005 18:18:45 +0000 (10:18 -0800)
commitde922487890936470660e89f9095aee980637989
treebbb88a18ee78fa43c0f887c138011a055a9c8045
parent5872a9fc28e6cd3a4e51479a50970d19a01573b3
IPoIB: reinitialize mcast structs' completions for every query

Make sure mcast->done is initialized to uncompleted value before we
submit a new query, so that it's safe to wait on.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_multicast.c