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)
commit88ce65a71c39901494eb2f1393856bff8ba0158d
tree74ec344b9b23c85c96c47d26afe1a8bae3aa539e
parentbaae3e62f31618d90e08fb886b4481e5d7b7f27c
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