]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IPoIB: Yet another fix for send-only joins
authorRoland Dreier <rolandd@cisco.com>
Sat, 11 Feb 2006 20:22:12 +0000 (12:22 -0800)
committerRoland Dreier <rolandd@cisco.com>
Sat, 11 Feb 2006 20:22:12 +0000 (12:22 -0800)
commit20b83382d1c5d4d1a73fc5671261db5239d1dbb3
tree331685789ab2d86b1e126b0eb7c997642150d5d8
parentf295c79b6766b25fe8c1aad88211c54d1caa7e0b
IPoIB: Yet another fix for send-only joins

Even after the last fix, it's still possible for a send-only join to
start before the join for the broadcast group has finished.  This
could cause us to create a multicast group using attributes from the
broadcast group that haven't been initialized yet, so we would use
garbage for the Q_Key, etc.  Fix this by waiting until the broadcast
group's attached flag is set before starting send-only joins.

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