OpenCloudOS-Kernel/drivers/net/hyperv
Dexuan Cui 152669bd3c netvsc: fix use-after-free in netvsc_change_mtu()
'nvdev' is freed in rndis_filter_device_remove -> netvsc_device_remove ->
free_netvsc_device, so we mustn't access it, before it's re-created in
rndis_filter_device_add -> netvsc_device_add.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Reviewed-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-02 14:41:36 -08:00
..
Kconfig
Makefile
hyperv_net.h netvsc: report per-channel stats in ethtool statistics 2017-01-24 16:29:01 -05:00
netvsc.c char/misc driver patches for 4.11-rc1 2017-02-22 11:38:22 -08:00
netvsc_drv.c netvsc: fix use-after-free in netvsc_change_mtu() 2017-03-02 14:41:36 -08:00
rndis_filter.c netvsc: eliminate per-device outstanding send counter 2017-01-24 16:29:01 -05:00