Re: [PATCH] igmp: fix ip_mc_sf_allow race [v5]
From: David Miller <davem@davemloft.net>
Date: 2010-02-02 15:32:27
From: David Miller <davem@davemloft.net>
Date: 2010-02-02 15:32:27
From: Flavio Leitner <redacted> Date: Thu, 28 Jan 2010 14:13:38 -0200
Hello, This is another version considering the suggestions. Thanks! I didn't convert to list_head yet because a lot more code needs to be changed so I'd rather leave that to another patch. 8<--------- Almost all igmp functions accessing inet->mc_list are protected by rtnl_lock(), but there is one exception which is ip_mc_sf_allow(), so there is a chance of either ip_mc_drop_socket or ip_mc_leave_group remove an entry while ip_mc_sf_allow is running causing a crash. Signed-off-by: Flavio Leitner <redacted>
Applied to net-next-2.6, thanks.