aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/realtek/r8169_main.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-04-13 20:46:14 -0700
committerDavid S. Miller <davem@davemloft.net>2021-04-14 13:03:06 -0700
commit16756d3e77ad58cd07e36cbed724aa13ae5a0278 (patch)
treec9ba1c42ab61d04ca305e747e0d86d562272753a /drivers/net/ethernet/realtek/r8169_main.c
parentxen-netback: Check for hotplug-status existence before watching (diff)
downloadlinux-dev-16756d3e77ad58cd07e36cbed724aa13ae5a0278.tar.xz
linux-dev-16756d3e77ad58cd07e36cbed724aa13ae5a0278.zip
ethtool: pause: make sure we init driver stats
The intention was for pause statistics to not be reported when driver does not have the relevant callback (only report an empty netlink nest). What happens currently we report all 0s instead. Make sure statistics are initialized to "not set" (which is -1) so the dumping code skips them. Fixes: 9a27a33027f2 ("ethtool: add standard pause stats") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek/r8169_main.c')
0 files changed, 0 insertions, 0 deletions