[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<169701242526.2065.3732761512312039309.git-patchwork-notify@kernel.org>
Date: Wed, 11 Oct 2023 08:20:25 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Sonia Sharma <sosha@...ux.microsoft.com>
Cc: linux-kernel@...r.kernel.org, linux-hyperv@...r.kernel.org,
netdev@...r.kernel.org, sosha@...rosoft.com, kys@...rosoft.com,
mikelley@...rosoft.com, haiyangz@...rosoft.com, wei.liu@...nel.org,
decui@...rosoft.com, longli@...rosoft.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH net-next v7] hv_netvsc: fix netvsc_send_completion to avoid
multiple message length checks
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@...emloft.net>:
On Mon, 9 Oct 2023 01:00:16 -0700 you wrote:
> From: Sonia Sharma <sonia.sharma@...ux.microsoft.com>
>
> The switch statement in netvsc_send_completion() is incorrectly validating
> the length of incoming network packets by falling through to the next case.
> Avoid the fallthrough. Instead break after a case match and then process
> the complete() call.
> The current code has not caused any known failures. But nonetheless, the
> code should be corrected as a different ordering of the switch cases might
> cause a length check to fail when it should not.
>
> [...]
Here is the summary with links:
- [net-next,v7] hv_netvsc: fix netvsc_send_completion to avoid multiple message length checks
https://git.kernel.org/netdev/net-next/c/9bae5b055022
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