]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables_netdev: fix error path in module initialization
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 18 Jan 2016 12:52:29 +0000 (13:52 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 18 Jan 2016 12:53:37 +0000 (13:53 +0100)
commit9ab854fde73dd4a69f543f7110a5e08adb280242
treea4070c126591fe62f79e7bfcafaf89d8f07fde73
parent4279c16969512253812e6e8317641fb3af24d312
netfilter: nf_tables_netdev: fix error path in module initialization

Unregister the chain type and return error, otherwise this leaks the
subscription to the netdevice notifier call chain.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_netdev.c