commit | 01d9bd792d1603761dcc2644ccf4cc35a4658ab6 | [log] [tgz] |
---|---|---|
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | Wed Mar 07 17:51:46 2018 -0600 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 08 12:51:45 2018 -0500 |
tree | 96aca6c1c4916a443ef16a065370a571b787b58d | |
parent | f873866a05cc4ca718e4f2fb6f2601a7869f3e12 [diff] |
ibmvnic: Reorganize device close Introduce a function to halt network operations and clean up any unused or outstanding socket buffers. Then, during device close, disable backing adapter before halting all queues and performing cleanup. This ensures all backing device operations will be stopped before the driver cleans up shared resources. Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>