]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: destroy basechain and rules on netdevice removal
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 15 Dec 2015 18:40:49 +0000 (19:40 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 28 Dec 2015 17:34:35 +0000 (18:34 +0100)
commit846be23b1718d2479b72d70e53f058e0e24463ef
tree3bce71064195708c73697ffba15606f43256561e
parent2ed2e6e30e5a157fea95d2d1e28ce65fb7edc0c1
netfilter: nf_tables: destroy basechain and rules on netdevice removal

If the netdevice is destroyed, the resources that are attached should
be released too as they belong to the device that is now gone.

Suggested-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nf_tables_netdev.c