ibmvnic: Clean RX pool buffers during device close
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Wed, 14 Feb 2018 00:23:43 +0000 (18:23 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Feb 2018 19:39:10 +0000 (14:39 -0500)
commitd0869c0071e40c4407d1a4d7c9497653cf47253b
tree0a63f84750d362f4cf0163a3c8ec04fbb9417502
parent4b9b0f01350500173f17e2b2e65beb4df4ef99c7
ibmvnic: Clean RX pool buffers during device close

During device close or reset, there were some cases of outstanding
RX socket buffers not being freed. Include a function similar to the
one that already exists to clean TX socket buffers in this case.

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