diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-11-15 11:36:35 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-11-15 23:44:54 +0100 |
commit | ff4bf2f42a40e7dff28379f085b64df322c70b45 (patch) | |
tree | 11c5faa93078b1aa66bd9e1738282821e341a356 /include | |
parent | netfilter: nf_tables: check if bind callback fails and unbind if hook registration fails (diff) | |
download | linux-dev-ff4bf2f42a40e7dff28379f085b64df322c70b45.tar.xz linux-dev-ff4bf2f42a40e7dff28379f085b64df322c70b45.zip |
netfilter: nf_tables: add nft_unregister_flowtable_hook()
Unbind flowtable callback if hook is unregistered.
This patch is implicitly fixing the error path of
nf_tables_newflowtable() and nft_flowtable_event().
Fixes: 8bb69f3b2918 ("netfilter: nf_tables: add flowtable offload control plane")
Reported-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions