linux/drivers/net/hyperv
stephen hemminger 80d887dbb6 Revert "netvsc: optimize calculation of number of slots"
The logic for computing page buffer scatter does not take into
account the impact of compound pages. Therefore the optimization
to compute number of slots was incorrect and could cause stack
corruption a skb was sent with lots of fragments from huge pages.

This reverts commit 60b86665af.

Fixes: 60b86665af ("netvsc: optimize calculation of number of slots")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-25 21:26:08 -07:00
..
Kconfig
Makefile
hyperv_net.h hv_netvsc: Fix the carrier state error when data path is off 2017-06-22 13:30:37 -04:00
netvsc.c hv_netvsc: Fix the carrier state error when data path is off 2017-06-22 13:30:37 -04:00
netvsc_drv.c Revert "netvsc: optimize calculation of number of slots" 2017-07-25 21:26:08 -07:00
rndis_filter.c hv_netvsc: Remove unnecessary var link_state from struct netvsc_device_info 2017-06-22 13:30:37 -04:00