Re: [PATCH v2] ipv6: check return value of ipv6_skip_exthdr

From: patchwork-bot+netdevbpf
Date: Thu Nov 18 2021 - 06:51:14 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Wed, 17 Nov 2021 20:06:48 +0100 you wrote:
> The offset value is used in pointer math on skb->data.
> Since ipv6_skip_exthdr may return -1 the pointer to uh and th
> may not point to the actual udp and tcp headers and potentially
> overwrite other stuff. This is why I think this should be checked.
>
> EDIT: added {}'s, thanks Kees
>
> [...]

Here is the summary with links:
- [v2] ipv6: check return value of ipv6_skip_exthdr
https://git.kernel.org/netdev/net/c/5f9c55c8066b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html