]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: iptables: Add a .pre_exit hook in all iptable_foo.c.
authorDavid Wilder <dwilder@us.ibm.com>
Mon, 22 Jun 2020 17:10:12 +0000 (10:10 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 24 Jun 2020 22:50:31 +0000 (00:50 +0200)
commit5515fba94946e23ec49d62023cd2ca578df03c2b
tree907d25be1845827ba84e8d4a9e9176e5be13dc13
parent4ecffc4ee109fd760bd4263923d7282f0c99f002
netfilter: iptables: Add a .pre_exit hook in all iptable_foo.c.

Using new helpers ipt_unregister_table_pre_exit() and
ipt_unregister_table_exit().

Fixes: d19b9b05b8e4 ("netfilter: xtables: don't hook tables by default")
Signed-off-by: David Wilder <dwilder@us.ibm.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/iptable_filter.c
net/ipv4/netfilter/iptable_mangle.c
net/ipv4/netfilter/iptable_nat.c
net/ipv4/netfilter/iptable_raw.c
net/ipv4/netfilter/iptable_security.c