diff options
author | Shannon Nelson <snelson@pensando.io> | 2019-10-06 23:21:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-07 16:41:56 +0300 |
commit | 4b5149365faa8fddf7dc58e47cfed51b19db051e (patch) | |
tree | 49c77740db99112242a237eb504240efc77e2647 /drivers/ptp | |
parent | 7359db69ee8a8efc842077b8c6311f14bcdee4d7 (diff) | |
download | linux-4b5149365faa8fddf7dc58e47cfed51b19db051e.tar.xz |
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