commit | f943cbe6fb71d1389dd8684b9b4181e49f8e870c | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Wed Dec 14 04:58:33 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 14 13:34:55 2011 -0500 |
tree | e895be7b8d2985e0123ad48500005d2a86eac101 | |
parent | e6560d4dfe62ddf6010fdf4a417b1b3bdcbf4fd3 [diff] |
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 <eric.dumazet@gmail.com> CC: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>