]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'nfp-fix-ethtool-stats-and-page-allocation'
authorDavid S. Miller <davem@davemloft.net>
Tue, 10 Oct 2017 20:18:34 +0000 (13:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Oct 2017 20:18:34 +0000 (13:18 -0700)
commit37bcd41346f90a29db1dcd2f6ceb3f4963d943ff
tree97ba442e53e8eb00ea1527077fbd67c3179c5a32
parent12b371af78bc6738082705cffa047174e3720a82
parent32173d7854e74d18d3cbc240e88acb84625f630e
Merge branch 'nfp-fix-ethtool-stats-and-page-allocation'

Jakub Kicinski says:

====================
nfp: fix ethtool stats and page allocation

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 f9062468f678 ("nfp: split software and hardware
vNIC statistics") which is in net.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>