Messages in this thread | | | Subject | Re: [PATCH] net: macb: Add a NULL check on desc_ptp | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 25 Aug 2021 09:50:05 +0000 |
| |
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
| |