]> git.baikalelectronics.ru Git - kernel.git/commit
net: aquantia: Fix internal stats calculation on rx
authorIgor Russkikh <igor.russkikh@aquantia.com>
Mon, 15 Jan 2018 13:41:22 +0000 (16:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Jan 2018 19:40:01 +0000 (14:40 -0500)
commitf912b2f35c957cdc349129d9c670450491677ae5
treeb1cff77e0cd7e44e657940e19769303e244977cc
parent2c65f83047b04f8c40a6060a964de314af4f9223
net: aquantia: Fix internal stats calculation on rx

skb len should be fetched before gro_receive - otherwise we may get
wrong or even outdated skb data.

Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_ring.c