diff options
author | Shannon Nelson <snelson@pensando.io> | 2020-05-12 03:59:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-12 22:19:30 +0300 |
commit | a836c352291d4ad4031743a97a61f7916fe519b7 (patch) | |
tree | 385e3f2b62ddde23679b2cdde86dc9f7a38daa82 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c4e7a75a096c02035a102686e2569e7b0341a122 (diff) | |
download | linux-a836c352291d4ad4031743a97a61f7916fe519b7.tar.xz |
ionic: protect vf calls from fw reset
When going into a firmware upgrade cycle, we set the device as
not present to keep some user commands from trying to change
the driver while we're only half there. Unfortunately, the
ndo_vf_* calls don't check netif_device_present() so we need
to add a check in the callbacks.
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions