ibmvnic: Fix RX queue buffer cleanup
authorThomas Falcon <tlfalcon@linux.ibm.com>
Wed, 21 Nov 2018 17:17:58 +0000 (11:17 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Dec 2018 08:18:50 +0000 (09:18 +0100)
commit1c1fbd4d2e9200f4b8a69d2b517e5708b0965a68
treec5b353d3628e8fd56323a2f09a3cfb69588c66f5
parentdab45f4d03f01e8d6612803518c225bf859f796c
ibmvnic: Fix RX queue buffer cleanup

[ Upstream commit b7cdec3d699db2e5985ad39de0f25d3b6111928e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/ibm/ibmvnic.c