diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-12-14 04:58:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-14 13:34:55 -0500 |
commit | f943cbe6fb71d1389dd8684b9b4181e49f8e870c (patch) | |
tree | e895be7b8d2985e0123ad48500005d2a86eac101 /security | |
parent | e6560d4dfe62ddf6010fdf4a417b1b3bdcbf4fd3 (diff) | |
download | op-kernel-dev-f943cbe6fb71d1389dd8684b9b4181e49f8e870c.zip op-kernel-dev-f943cbe6fb71d1389dd8684b9b4181e49f8e870c.tar.gz |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions