diff options
author | Flavio Leitner <fbl@redhat.com> | 2018-09-27 18:36:28 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-09-28 08:47:41 -0400 |
commit | 40e4f26e6a14fc1496eabb8b0004a547303114e6 (patch) | |
tree | d6c9c65b4fdff4d5ff1589806a83a056510865e6 /net/ipv4/tcp_input.c | |
parent | 421c119f558761556afca6a62ad183bc2d8659e0 (diff) |
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 <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions