summaryrefslogtreecommitdiffstats
path: root/security/selinux/include
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2018-12-16 18:46:29 -0500
committerDavid S. Miller <davem@davemloft.net>2018-12-17 23:08:53 -0800
commitb8875ca356f1c0b17ec68be6666269373a62288e (patch)
tree3614d664904602c62808933d3627e33812f20219 /security/selinux/include
parent7c675421afef18253a86ffc383f57bc15ef32ea8 (diff)
downloadblackbird-obmc-linux-b8875ca356f1c0b17ec68be6666269373a62288e.tar.gz
blackbird-obmc-linux-b8875ca356f1c0b17ec68be6666269373a62288e.zip
bnxt_en: Save ring statistics before reset.
With the current driver, the statistics reported by .ndo_get_stats64() are reset when the device goes down. Store a snapshot of the rtnl_link_stats64 before shutdown. This snapshot is added to the current counters in .ndo_get_stats64() so that the counters will not get reset when the device is down. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/selinux/include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud