dpaa_eth: small leak on error
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 16 Feb 2017 09:56:10 +0000 (12:56 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 17:18:43 +0000 (12:18 -0500)
commit785f35775d968e0f45231b754e945fcb3ed6bded
treea3fd8bef4bf3cc14c46ec5e589935fb5ab8f63f2
parent2bd624b4611ffee36422782d16e1c944d1351e98
dpaa_eth: small leak on error

This should be >= instead of > here.  It means that we don't increment
the free count enough so it becomes off by one.

Fixes: 9ad1a3749333 ("dpaa_eth: add support for DPAA Ethernet")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c