netfilter: xt_qtaguid: fix bad tcp_time_wait sock handling
authorJP Abgrall <jpa@google.com>
Thu, 21 Feb 2013 00:38:34 +0000 (16:38 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:30 +0000 (13:51 -0800)
commitad5d02a5860a84a56078e1684575b79978c2e6f8
tree1f3825e1f8345049388f2b27576f2987d36fb9e8
parent81ceb3855920820652c0a11ad8e4433fd3bfcda6
netfilter: xt_qtaguid: fix bad tcp_time_wait sock handling

Since (41063e9 ipv4: Early TCP socket demux), skb's can have an sk which
is not a struct sock but the smaller struct inet_timewait_sock without an
sk->sk_socket. Now we bypass sk_state == TCP_TIME_WAIT

Signed-off-by: JP Abgrall <jpa@google.com>
net/netfilter/xt_qtaguid.c