]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: tproxy: nf_tproxy_assign_sock() can handle tw sockets
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 21 Sep 2010 21:17:29 +0000 (21:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Sep 2010 20:13:31 +0000 (13:13 -0700)
commitd485d500cf6b13a33bc7a6c09091deea7ea603ca
tree67d132d3b75e8ae5c3f39e0701a20843e50b8ab2
parent3d13008e7345fa7a79d8f6438150dc15d6ba6e9d
netfilter: tproxy: nf_tproxy_assign_sock() can handle tw sockets

transparent field of a socket is either inet_twsk(sk)->tw_transparent
for timewait sockets, or inet_sk(sk)->transparent for other sockets
(TCP/UDP).

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_tproxy_core.c