netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][MCAST]Clear MAF_GSQUERY flag when process MLDv1 general query messages.
@ 2005-11-07 14:13 Yan Zheng
  2005-11-07 14:25 ` John W. Linville
  0 siblings, 1 reply; 5+ messages in thread
From: Yan Zheng @ 2005-11-07 14:13 UTC (permalink / raw)
  To: netdev, linux-kernel, David Stevens

Hi.
 

MAF_GSQUERY flag may cause problem when MLDv1 compatibility mode expires.  



Signed-off-by: Yan Zheng <yanzheng@21cn.com>

Index: net/ipv6/mcast.c
================================================================================
--- linux-2.6.14/net/ipv6/mcast.c	2005-11-05 09:09:47.000000000 +0800
+++ linux/net/ipv6/mcast.c	2005-11-07 21:57:27.000000000 +0800
@@ -1166,6 +1166,7 @@ int igmp6_event_query(struct sk_buff *sk
 	if (group_type == IPV6_ADDR_ANY) {
 		for (ma = idev->mc_list; ma; ma=ma->next) {
 			spin_lock_bh(&ma->mca_lock);
+			ma->mca_flags &= ~MAF_GSQUERY;
 			igmp6_group_queried(ma, max_delay);
 			spin_unlock_bh(&ma->mca_lock);
 		}

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-11-08  0:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-07 14:13 [PATCH][MCAST]Clear MAF_GSQUERY flag when process MLDv1 general query messages Yan Zheng
2005-11-07 14:25 ` John W. Linville
2005-11-07 14:46   ` Yan Zheng
2005-11-07 21:47     ` David Stevens
2005-11-08  0:33       ` Yan Zheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).