]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: fix error path in the init functions
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 9 Jan 2014 19:32:19 +0000 (20:32 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 9 Jan 2014 22:25:48 +0000 (23:25 +0100)
commit6de41106c873808ec05195e229296c7856087dc0
tree92978b3f3a0088763a7a683166c1b25c8883cea2
parenta7b7bef898834e9cf432e950883785ce60c9fa66
netfilter: nf_tables: fix error path in the init functions

We have to unregister chain type if this fails to register netns.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/nf_tables_ipv4.c
net/ipv6/netfilter/nf_tables_ipv6.c
net/netfilter/nf_tables_inet.c