]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables_offload: unbind if multi-device binding fails
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 24 Oct 2019 08:30:19 +0000 (10:30 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 26 Oct 2019 10:36:44 +0000 (12:36 +0200)
commit92b7b3795269cac53d3e2e266541420bbb4e4dd8
treee91dd259fd6cd6ce3c714b996f84f38a28eacec7
parent58bff276edc29c6f461a86c1ebbc7d59e73a5caf
netfilter: nf_tables_offload: unbind if multi-device binding fails

nft_flow_block_chain() needs to unbind in case of error when performing
the multi-device binding.

Fixes: 306aa0a8c727 ("netfilter: nf_tables: support for multiple devices per netdev hook")
Reported-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_offload.c