[PATCH net 1/1] Revert "netvsc: optimize calculation of number of slots"
David Miller
davem at davemloft.net
Wed Jul 26 04:27:23 UTC 2017
From: Stephen Hemminger <stephen at networkplumber.org>
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 <sthemmin at microsoft.com>
Applied.
More information about the devel
mailing list