linux/drivers/staging/fsl-dpaa2
Ioana Radulescu 11d9a37aaf staging: fsl-dpaa2/eth: Account for Rx FD buffers on error path
[ Upstream commit cbb3ea40fc ]

On Rx path, if we fail to build an skb from the incoming FD,
we still need to update the channel buffer count accordingly,
otherwise we risk depleting the pool while the software counter
still sees available buffers.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-12-10 13:40:41 +01:00
..
ethernet staging: fsl-dpaa2/eth: Account for Rx FD buffers on error path 2017-12-10 13:40:41 +01:00
Kconfig staging: fsl-mc: allow the driver compile multi-arch 2017-07-30 08:23:28 -07:00
Makefile staging: fsl-dpaa2/eth: Add APIs for DPNI objects 2017-04-28 14:25:17 +02:00