aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorFlavio Leitner <[email protected]>2018-09-27 22:36:28 +0000
committerPablo Neira Ayuso <[email protected]>2018-09-28 12:47:41 +0000
commit40e4f26e6a14fc1496eabb8b0004a547303114e6 (patch)
treed6c9c65b4fdff4d5ff1589806a83a056510865e6 /net/ipv4/tcp_input.c
parentnetfilter: avoid erronous array bounds warning (diff)
downloadkernel-40e4f26e6a14fc1496eabb8b0004a547303114e6.tar.gz
kernel-40e4f26e6a14fc1496eabb8b0004a547303114e6.zip
netfilter: xt_socket: check sk before checking for netns.
Only check for the network namespace if the socket is available. Fixes: f564650106a6 ("netfilter: check if the socket netns is correct.") Reported-by: Guenter Roeck <[email protected]> Tested-by: Guenter Roeck <[email protected]> Signed-off-by: Flavio Leitner <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions