# Re: \[PATCH net\] hv\_netvsc: Reset the RSC count if NVSP\_STAT\_FAIL in netvsc\_receive()

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2021-02-05 04:21:07 
- List: linux-hyperv
- Page: https://ratatoskr.run/linux-hyperv/2021/02/6259511
- Thread: https://ratatoskr.run/linux-hyperv/2021/02/6256909/t.md

```text
Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Wed,  3 Feb 2021 12:36:02 +0100 you wrote:
> Commit 44144185951a0f ("hv_netvsc: Add validation for untrusted Hyper-V
> values") added validation to rndis_filter_receive_data() (and
> rndis_filter_receive()) which introduced NVSP_STAT_FAIL-scenarios where
> the count is not updated/reset.  Fix this omission, and prevent similar
> scenarios from occurring in the future.
> 
> Reported-by: Juan Vazquez <redacted>
> Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: <redacted>
> Fixes: 44144185951a0f ("hv_netvsc: Add validation for untrusted Hyper-V values")
> 
> [...]

Here is the summary with links:
  - [net] hv_netvsc: Reset the RSC count if NVSP_STAT_FAIL in netvsc_receive()
    https://git.kernel.org/netdev/net/c/12bc8dfb83b5

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


```
