commit | 4b5149365faa8fddf7dc58e47cfed51b19db051e | [log] [tgz] |
---|---|---|
author | Shannon Nelson <snelson@pensando.io> | Sun Oct 06 13:21:07 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 07 09:41:56 2019 -0400 |
tree | 49c77740db99112242a237eb504240efc77e2647 | |
parent | 7359db69ee8a8efc842077b8c6311f14bcdee4d7 [diff] |
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>