commit | ff4bf2f42a40e7dff28379f085b64df322c70b45 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Nov 15 11:36:35 2019 +0100 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Nov 15 23:44:54 2019 +0100 |
tree | 11c5faa93078b1aa66bd9e1738282821e341a356 | |
parent | d7c03a9f5c2577b29a7699bbaa1c1cbcfb56afd3 [diff] |
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>