commit | 40e4f26e6a14fc1496eabb8b0004a547303114e6 | [log] [tgz] |
---|---|---|
author | Flavio Leitner <fbl@redhat.com> | Thu Sep 27 19:36:28 2018 -0300 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Sep 28 14:47:41 2018 +0200 |
tree | d6c9c65b4fdff4d5ff1589806a83a056510865e6 | |
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>