linux-stable/drivers/net/hyperv
Gaurav Kohli 585ca08f43 hv_netvsc: Fix race between VF offering and VF association message from host
commit 365e1ececb upstream.

During vm boot, there might be possibility that vf registration
call comes before the vf association from host to vm.

And this might break netvsc vf path, To prevent the same block
vf registration until vf bind message comes from host.

Cc: stable@vger.kernel.org
Fixes: 00d7ddba11 ("hv_netvsc: pair VF based on serial number")
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Gaurav Kohli <gauravkohli@linux.microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-21 12:37:34 +02:00
..
hyperv_net.h hv_netvsc: Fix race between VF offering and VF association message from host 2022-10-21 12:37:34 +02:00
Kconfig
Makefile
netvsc.c hv_netvsc: Fix race between VF offering and VF association message from host 2022-10-21 12:37:34 +02:00
netvsc_bpf.c hv_netvsc: Add support for XDP_REDIRECT 2022-04-11 18:25:47 -07:00
netvsc_drv.c hv_netvsc: Fix race between VF offering and VF association message from host 2022-10-21 12:37:34 +02:00
netvsc_trace.c
netvsc_trace.h
rndis_filter.c net: allow gso_max_size to exceed 65536 2022-05-16 10:18:55 +01:00