]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables_offload: remove rules on unregistered device only
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 16 Oct 2019 12:30:02 +0000 (14:30 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 23 Oct 2019 11:01:32 +0000 (13:01 +0200)
commitf50bd59bbe164dada64d8c5b9e8fe3a44d6a5625
treec19845511f3d5db413d16298bc57dd45e1fb13c2
parenta6f899083714415bdaa5315b299b90cb72042b57
netfilter: nf_tables_offload: remove rules on unregistered device only

After unbinding the list of flow_block callbacks, iterate over it to
remove the existing rules in the netdevice that has just been
unregistered.

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