[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b4d4ee6c553f9cd983d12f88eb6a12ca3cb39962.camel@redhat.com>
Date: Tue, 29 Mar 2022 10:59:35 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Zheng Yongjun <zhengyongjun3@...wei.com>, andrew@...n.ch,
vivien.didelot@...il.com, f.fainelli@...il.com,
davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: vladimir.oltean@....com, claudiu.manoil@....com,
alexandre.belloni@...tlin.com, UNGLinuxDriver@...rochip.com
Subject: Re: [PATCH] net: dsa: felix: fix possible NULL pointer dereference
Hello,
On Tue, 2022-03-29 at 08:12 +0000, Zheng Yongjun wrote:
> As the possible failure of the allocation, kzalloc() may return NULL
> pointer.
> Therefore, it should be better to check the 'sgi' in order to prevent
> the dereference of NULL pointer.
>
> Fixes: 23ae3a7877718 ("net: dsa: felix: add stream gate settings for psfpq").
It looks like the fixes tag has been corrupted (trailing 'q'). Would
you mind posting a v2 with that fixed ?
Thanks,
Paolo
Powered by blists - more mailing lists