Re: [PATCH v3 net] net: hv_netvsc: fix netvsc_send_completion to avoid multiple message length checks
From: Simon Horman <horms@kernel.org>
Date: 2023-08-03 12:14:12
Also in:
lkml, netdev
From: Simon Horman <horms@kernel.org>
Date: 2023-08-03 12:14:12
Also in:
lkml, netdev
On Wed, Aug 02, 2023 at 05:45:28PM -0700, Sonia Sharma wrote:
From: Sonia Sharma <redacted> 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. Signed-off-by: Sonia Sharma <redacted>
Hi Sonia, if this is a bug-fix, which seems to be the case, then it probably warrants a Fixes tag.