mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
net: Convert iptable_nat_net_ops
These pernet_operations unregister net::ipv4::nat_table table. Another net/pernet_operations do not send ipv4 packets to foreign net namespaces. So, we mark them async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7ba81869d1
commit
06a8a67b5d
1 changed files with 1 additions and 0 deletions
|
@ -129,6 +129,7 @@ static void __net_exit iptable_nat_net_exit(struct net *net)
|
|||
|
||||
static struct pernet_operations iptable_nat_net_ops = {
|
||||
.exit = iptable_nat_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init iptable_nat_init(void)
|
||||
|
|
Loading…
Reference in a new issue