[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b2344023-5045-a127-a3f2-0fc7ef898505@cogentembedded.com>
Date: Mon, 20 Mar 2017 12:37:23 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: fgao@...ai8.com, pablo@...filter.org, jolsa@...hat.com,
davem@...emloft.net, netfilter-devel@...r.kernel.org,
netdev@...r.kernel.org, gfree.wind@...il.com
Subject: Re: [PATCH nf 1/1] netfilter: snmp: Fix one possible panic when
snmp_trap_helper fail to register
Hello!
On 3/20/2017 4:44 AM, fgao@...ai8.com wrote:
> From: Gao Feng <fgao@...ai8.com>
>
> In the commit ("netfilter: nf_conntrack: nf_conntrack snmp helper"),
Need to specify the 12-digit SHA1 ID as well.
> 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@...ai8.com>
[...]
MBR, Sergei
Powered by blists - more mailing lists