Hi!
Two fixes for net. First one makes sure we handle gather of stats on
32bit machines correctly (ouch). The second fix solves a potential
NULL-deref if we fail to allocate a page with XDP running.
I used Fixes: tags pointing to where the bug was introduced, but for
patch 1 it has been in the driver "for ever" and fix won't backport
cleanly beyond commit 325945ede6d4 ("nfp: split software and hardware
vNIC statistics") which is in net.
Jakub Kicinski (2):
nfp: fix ethtool stats gather retry
nfp: handle page allocation failures
drivers/net/ethernet/netronome/nfp/nfp_net_common.c | 20 ++++++++++++++------
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c | 8 +++++---
2 files changed, 19 insertions(+), 9 deletions(-)
--
2.14.1