]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2328605e55b6f8545b4fe2018616760bcb602ac4
tree0a63f84750d362f4cf0163a3c8ec04fbb9417502
parentaae5e002fb199d618e7eb6238e25aa97523c885f
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