]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Flush existing work items before device removal
authorThomas Falcon <tlfalcon@linux.ibm.com>
Fri, 12 Jun 2020 18:34:41 +0000 (13:34 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jun 2020 21:11:02 +0000 (14:11 -0700)
commit41a8ee7e04ec98e990de2bfb5e7792f74c22de1b
tree04e207acaa83877fb444ce03c97f031d81c9cc82
parent49f7dc0d453f79f0b10bed6b51df07e499d3fc9b
ibmvnic: Flush existing work items before device removal

Ensure that all scheduled work items have completed before continuing
with device removal and after further event scheduling has been
halted. This patch fixes a bug where a scheduled driver reset event
is processed following device removal.

Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c