ibmvnic: Fix RX queue buffer cleanup
authorThomas Falcon <tlfalcon@linux.ibm.com>
Wed, 21 Nov 2018 17:17:58 +0000 (11:17 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Nov 2018 19:53:25 +0000 (11:53 -0800)
commitb7cdec3d699db2e5985ad39de0f25d3b6111928e
tree65db91dfa4cd7c6624b3ea74d079682fc4ce4eae
parent6d0f60b0f8588fd4380ea5df9601e12fddd55ce2
ibmvnic: Fix RX queue buffer cleanup

The wrong index is used when cleaning up RX buffer objects during release
of RX queues. Update to use the correct index counter.

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