net: aquantia: Fix internal stats calculation on rx
commit9ec03bf63965c970f1b750d4adbea88c8363b03b
authorIgor Russkikh <igor.russkikh@aquantia.com>
Mon, 15 Jan 2018 13:41:22 +0000 (15 16:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Jan 2018 19:40:01 +0000 (16 14:40 -0500)
treeb1cff77e0cd7e44e657940e19769303e244977cc
parent8e1c072fcbeae2d74ad5eea31b52a88fdcddc074
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