netfilter: nftables: Only run the nftables chains in the proper netns
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 10 Jul 2015 23:15:44 +0000 (18:15 -0500)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 15 Jul 2015 16:17:36 +0000 (18:17 +0200)
commitfd2ecda0341960d0ce361d648cf4dd98187afb06
tree31c7d09add0eab85326a0200331a68c5f4815edd
parent085db2c04557d31db61541f361bd8b4de92c9939
netfilter: nftables: Only run the nftables chains in the proper netns

- Register the nftables chains in the network namespace that they need
  to run in.

- Remove the hacks that stopped chains running in the wrong network
  namespace.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c
net/netfilter/nf_tables_core.c