linux_dsm_epyc7002/drivers/net/hyperv
Mohammed Gamal 55be9f25be hv_netvsc: Fix net device attach on older Windows hosts
On older windows hosts the net_device instance is returned to
the caller of rndis_filter_device_add() without having the presence
bit set first. This would cause any subsequent calls to network device
operations (e.g. MTU change, channel change) to fail after the device
is detached once, returning -ENODEV.

Instead of returning the device instabce, we take the exit path where
we call netif_device_attach()

Fixes: 7b2ee50c0c ("hv_netvsc: common detach logic")
Signed-off-by: Mohammed Gamal <mgamal@redhat.com>
Reviewed-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-05-10 15:37:00 -04:00
..
hyperv_net.h hv_netvsc: Add range checking for rx packet offset and length 2018-03-25 17:07:40 -04:00
Kconfig
Makefile hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc_drv.c drivers/net: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00
netvsc_trace.c hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc_trace.h hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc.c hv_netvsc: Pass net_device parameter to revoke and teardown functions 2018-04-05 22:21:00 -04:00
rndis_filter.c hv_netvsc: Fix net device attach on older Windows hosts 2018-05-10 15:37:00 -04:00