diff options
author | wenxu <wenxu@ucloud.cn> | 2019-11-15 19:21:26 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-11-15 23:44:53 +0100 |
commit | d7c03a9f5c2577b29a7699bbaa1c1cbcfb56afd3 (patch) | |
tree | 691b13a7abfaa99d147a3a003c905f8632050be7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 63b48c73ff567bbab1f940d6e8f3f48607077a13 (diff) |
netfilter: nf_tables: check if bind callback fails and unbind if hook registration fails
Undo the callback binding before unregistering the existing hooks. This
should also check for error of the bind setup call.
Fixes: c29f74e0df7a ("netfilter: nf_flow_table: hardware offload support")
Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions