[PATCH][MCAST]Clear MAF_GSQUERY flag when process MLDv1 general querymessages.

From: Yan Zheng
Date: Mon Nov 07 2005 - 09:12:17 EST


Hi.


MAF_GSQUERY flag may cause problem when MLDv1 compatibility mode expires.



Signed-off-by: Yan Zheng <yanzheng@xxxxxxxx>

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);
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/