]> 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)
commite6ddf6a189e057d08072b8ead765b20f965b84a7
tree97ba442e53e8eb00ea1527077fbd67c3179c5a32
parentfa045b4b6deaa2f2e3a550b4cbe2a9512d71c9ee
parenta9a1afe1f1f98ccb0b10af320b374c1723c5e131
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 b75ddf57ae22 ("nfp: split software and hardware
vNIC statistics") which is in net.
====================

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