[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162988500579.26256.8039031793551400610.git-patchwork-notify@kernel.org>
Date: Wed, 25 Aug 2021 09:50:05 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Harini Katakam <harini.katakam@...inx.com>
Cc: nicolas.ferre@...rochip.com, davem@...emloft.net,
claudiu.beznea@...rochip.com, kuba@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
michal.simek@...inx.com, harinikatakamlinux@...il.com
Subject: Re: [PATCH] net: macb: Add a NULL check on desc_ptp
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Tue, 24 Aug 2021 15:32:09 +0530 you wrote:
> macb_ptp_desc will not return NULL under most circumstances with correct
> Kconfig and IP design config register. But for the sake of the extreme
> corner case, check for NULL when using the helper. In case of rx_tstamp,
> no action is necessary except to return (similar to timestamp disabled)
> and warn. In case of TX, return -EINVAL to let the skb be free. Perform
> this check before marking skb in progress.
> Fixes coverity warning:
> (4) Event dereference:
> Dereferencing a null pointer "desc_ptp"
>
> [...]
Here is the summary with links:
- net: macb: Add a NULL check on desc_ptp
https://git.kernel.org/netdev/net/c/85520079afce
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists