[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180805.172604.633565255902664874.davem@davemloft.net>
Date: Sun, 05 Aug 2018 17:26:04 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: jhs@...atatu.com, jiri@...lanox.com, xiyou.wangcong@...il.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] net: sched: cls_flower: Fix an error code in
fl_tmplt_create()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Fri, 3 Aug 2018 22:27:55 +0300
> We forgot to set the error code on this path, so we return NULL instead
> of an error pointer. In the current code kzalloc() won't fail for small
> allocations so this doesn't really affect runtime.
>
> Fixes: b95ec7eb3b4d ("net: sched: cls_flower: implement chain templates")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks Dan.
Powered by blists - more mailing lists