]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables: Fix for wrong assert() in __nft_table_flush()
authorPhil Sutter <phil@nwl.cc>
Wed, 19 Sep 2018 13:16:43 +0000 (15:16 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 24 Sep 2018 09:23:42 +0000 (11:23 +0200)
commit7ae4fb1348874afbfd760d6b7a24e4ea2d6e67ab
tree8274ce62675891846b921ced8cd4517945c4beaa
parent8c786a351a441ff23ad5d9d1da8cec492f88f542
xtables: Fix for wrong assert() in __nft_table_flush()

The code obviously tries to assert that nft_table_builtin_find()
returned a valid pointer before dereferencing it, but the wrong argument
was given. Assume this is just a typo and insert the missing underscore.

Fixes: 9b896224e0bfc ("xtables: rework rule cache logic")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/nft.c