]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: add missing module references to chain types
authorPatrick McHardy <kaber@trash.net>
Thu, 9 Jan 2014 18:42:35 +0000 (18:42 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 9 Jan 2014 19:17:14 +0000 (20:17 +0100)
commit49c3e7bbb1e6a6fb1d25895b1f91e67536cf9b73
tree74ec344b9b23c85c96c47d26afe1a8bae3aa539e
parent6337954aa7510efe7485f19a3197dd3f9383fa45
netfilter: nf_tables: add missing module references to chain types

In some cases we neither take a reference to the AF info nor to the
chain type, allowing the module to be unloaded while in use.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/netfilter/nf_tables_bridge.c
net/ipv4/netfilter/nf_tables_arp.c
net/ipv4/netfilter/nf_tables_ipv4.c
net/ipv6/netfilter/nf_tables_ipv6.c
net/netfilter/nf_tables_inet.c