From: Flavio Leitner Date: Tue, 2 Feb 2010 15:32:29 +0000 (-0800) Subject: igmp: fix ip_mc_sf_allow race [v5] X-Git-Tag: v2.6.34-rc1~233^2~475 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c85bb41e93184bf5494dde6d8fe5a81b564c84c8;p=pandora-kernel.git igmp: fix ip_mc_sf_allow race [v5] 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed