]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft-shared: skip check for jumpto if cs->target is unset
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 15 Apr 2020 19:29:27 +0000 (21:29 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 15 Apr 2020 21:04:16 +0000 (23:04 +0200)
commit18f01acbdefb211ebfefb728d2b6843c59ae06db
tree769937dee480280970c9fd3f9be59a6c2dc450b7
parentf3d4a3ddbcfca15a00dd9758f481420038f6de10
nft-shared: skip check for jumpto if cs->target is unset

The command_jump() function leaves cs->target unset if the target is not
found. Let's check if the jumpto string mismatches only in this case.

https://bugzilla.netfilter.org/show_bug.cgi?id=1422
Tested-by: Etienne Champetier <etienne.champetier@anevia.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
extensions/libxt_NOTRACK.t
iptables/nft-shared.c