diff options
author | Shannon Nelson <snelson@pensando.io> | 2019-10-06 22:21:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-07 15:41:56 +0200 |
commit | 4b5149365faa8fddf7dc58e47cfed51b19db051e (patch) | |
tree | 49c77740db99112242a237eb504240efc77e2647 /drivers/ptp | |
parent | Merge tag 'rxrpc-fixes-20191007' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
download | linux-4b5149365faa8fddf7dc58e47cfed51b19db051e.tar.xz linux-4b5149365faa8fddf7dc58e47cfed51b19db051e.zip |
ionic: fix stats memory dereference
When the netdev is down, the queues and their debug stats
do not exist, so don't try using a pointer to them when
when printing the ethtool stats.
Fixes: e470355bd96a ("ionic: Add driver stats")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions