ibmvnic: Wait for any pending scrqs entries at driver close
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Wed, 3 May 2017 18:05:02 +0000 (14:05 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 May 2017 15:33:05 +0000 (11:33 -0400)
commit46293b940fede04f90aab18d4bfecc5bd942cf3a
tree7908f79db0c53e269a6f9de3b6745b5d4d55138c
parentb41b83e9a784576b2bcc33bce447f7ce78fb265d
ibmvnic: Wait for any pending scrqs entries at driver close

When closing the ibmvnic driver we need to wait for any pending
sub crq entries to ensure they are handled.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c