]> 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)
commit76703eb9d5e5d49ca42c79c37f5c94ed365d486e
tree92978b3f3a0088763a7a683166c1b25c8883cea2
parent8f7aa57a12e8eb83fb89dba3e75e131ee4c7136d
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