From: Eric Dumazet Date: Wed, 14 Dec 2011 04:58:33 +0000 (+0000) Subject: inet: remove rcu protection on tw_net X-Git-Tag: v3.3-rc1~182^2~215 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f943cbe6fb71d1389dd8684b9b4181e49f8e870c;p=pandora-kernel.git inet: remove rcu protection on tw_net commit b099ce2602d806 (net: Batch inet_twsk_purge) added rcu protection on tw_net for no obvious reason. struct net are refcounted anyway since timewait sockets escape from rcu protected sections. tw_net stay valid for the whole timwait lifetime. This also removes a lot of sparse errors. Signed-off-by: Eric Dumazet CC: Eric W. Biederman Signed-off-by: David S. Miller --- Reading git-diff-tree failed