aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/pasemi
diff options
context:
space:
mode:
authorShannon Nelson2020-05-11 17:59:29 -0700
committerDavid S. Miller2020-05-12 12:19:30 -0700
commita836c352291d4ad4031743a97a61f7916fe519b7 (patch)
tree385e3f2b62ddde23679b2cdde86dc9f7a38daa82 /drivers/net/ethernet/pasemi
parentc4e7a75a096c02035a102686e2569e7b0341a122 (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>
Diffstat (limited to 'drivers/net/ethernet/pasemi')
0 files changed, 0 insertions, 0 deletions