[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160830095427.GA20414@salvia>
Date: Tue, 30 Aug 2016 11:54:27 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: fgao@...ai8.com
Cc: davem@...emloft.net, netfilter-devel@...r.kernel.org,
coreteam@...filter.org, netdev@...r.kernel.org,
gfree.wind@...il.com
Subject: Re: [PATCH v2 nf] netfilter: log: Check param to avoid overflow in
nf_log_set
On Mon, Aug 29, 2016 at 06:25:28PM +0800, fgao@...ai8.com wrote:
> From: Gao Feng <fgao@...ai8.com>
>
> The nf_log_set is an interface function, so it should do the strict sanity
> check of parameters. Convert the return value of nf_log_set as int instead
> of void. When the pf is invalid, return -EOPNOTSUPP.
Applied to nf-next, thanks.
Powered by blists - more mailing lists