From: Eric Dumazet Date: Mon, 8 Nov 2010 11:15:54 +0000 (+0000) Subject: inet: fix ip_mc_drop_socket() X-Git-Tag: v2.6.37-rc2~20^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18943d292facbc70e6a36fc62399ae833f64671b;p=pandora-kernel.git inet: fix ip_mc_drop_socket() commit 8723e1b4ad9be4444 (inet: RCU changes in inetdev_by_index()) forgot one call site in ip_mc_drop_socket() We should not decrease idev refcount after inetdev_by_index() call, since refcount is not increased anymore. Reported-by: Markus Trippelsdorf Reported-by: Miles Lane Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed