From: Stephen Hemminger <[email protected]>
Date: Mon, 24 Jul 2017 21:03:19 -0700
> 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 60b86665af0dfbeebda8aae43f0ba451cd2dcfe5.
>
> Fixes: 60b86665af0d ("netvsc: optimize calculation of number of slots")
> Signed-off-by: Stephen Hemminger <[email protected]>
Applied.
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel