[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170614.153117.2206133089943602575.davem@davemloft.net>
Date: Wed, 14 Jun 2017 15:31:17 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: jhs@...atatu.com, amir@...ai.me, xiyou.wangcong@...il.com,
jiri@...nulli.us, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] net/act_pedit: fix an error code
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Wed, 14 Jun 2017 13:29:31 +0300
> I'm reviewing static checker warnings where we do ERR_PTR(0), which is
> the same as NULL. I'm pretty sure we intended to return ERR_PTR(-EINVAL)
> here. Sometimes these bugs lead to a NULL dereference but I don't
> immediately see that problem here.
>
> Fixes: 71d0ed7079df ("net/act_pedit: Support using offset relative to the conventional network headers")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
Powered by blists - more mailing lists