diff options
author | Gao Feng <fgao@ikuai8.com> | 2017-03-25 18:24:36 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-03-27 13:49:13 +0200 |
commit | 75c689dca98851d65ef5a27e5ce26b625b68751c (patch) | |
tree | e93cd06368bf1578dcc850815b2a2af9bd26ee6b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 9c3f3794926a997b1cab6c42480ff300efa2d162 (diff) |
netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to register
In the commit 93557f53e1fb ("netfilter: nf_conntrack: nf_conntrack snmp
helper"), the snmp_helper is replaced by nf_nat_snmp_hook. So the
snmp_helper is never registered. But it still tries to unregister the
snmp_helper, it could cause the panic.
Now remove the useless snmp_helper and the unregister call in the
error handler.
Fixes: 93557f53e1fb ("netfilter: nf_conntrack: nf_conntrack snmp helper")
Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions