commit | a836c352291d4ad4031743a97a61f7916fe519b7 | [log] [tgz] |
---|---|---|
author | Shannon Nelson <snelson@pensando.io> | Mon May 11 17:59:29 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue May 12 12:19:30 2020 -0700 |
tree | 385e3f2b62ddde23679b2cdde86dc9f7a38daa82 | |
parent | c4e7a75a096c02035a102686e2569e7b0341a122 [diff] |
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>