Once a join request completes, we need to set the state to MCAST_MEMBER.
Otherwise, we won't try to leave the group when ib_free_multicast() is called,
which will leave the port in the multicast group.

Signed-off-by: Sean Hefty <[EMAIL PROTECTED]>
---
This fix shouldn't have any effect on stability.

Index: multicast.c
===================================================================
--- multicast.c (revision 7442)
+++ multicast.c (working copy)
@@ -332,6 +332,7 @@ static int send_leave(struct mcast_group
 static void join_group(struct mcast_group *group, struct mcast_member *member,
                       u8 join_state)
 {
+       member->state = MCAST_MEMBER;
        adjust_membership(group, join_state, 1);
        group->rec.join_state |= join_state;
        member->multicast.rec = group->rec;

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to