linux/drivers/staging/fsl-dpaa2
Ioana Radulescu 729d79b890 staging: fsl-dpaa2/eth: Fix double DMA unmap
In case we fail to allocate a skb for a fragmented ingress
frame, the cleanup function will attempt to unmap again the
first frame fragment, which had already been unmapped during
early Rx processing.

Avoid this by freeing the first buffer immediately in case
we hit an error, leaving the cleanup function to free only
the subsequent buffers.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-18 16:45:18 +02:00
..
ethernet staging: fsl-dpaa2/eth: Fix double DMA unmap 2017-10-18 16:45:18 +02:00
Kconfig staging: fsl-mc: allow the driver compile multi-arch 2017-07-30 08:23:28 -07:00
Makefile