linux/drivers/net/ethernet/arc
Alexander Kochetkov e688822d03 net: arc_emac: fix arc_emac_rx() error paths
arc_emac_rx() has some issues found by code review.

In case netdev_alloc_skb_ip_align() or dma_map_single() failure
rx fifo entry will not be returned to EMAC.

In case dma_map_single() failure previously allocated skb became
lost to driver. At the same time address of newly allocated skb
will not be provided to EMAC.

Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-12-19 13:24:23 -05:00
..
emac_arc.c net: arc: Fix module autoload for OF platform driver 2015-09-21 16:08:20 -07:00
emac_main.c net: arc_emac: fix arc_emac_rx() error paths 2017-12-19 13:24:23 -05:00
emac_mdio.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
emac_rockchip.c net: ethernet: arc: fix error handling in emac_rockchip_probe 2017-12-13 13:57:06 -05:00
emac.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig net: arc_emac: add dependencies on associated arches and compile test 2016-11-29 18:57:36 -05:00
Makefile ethernet: arc: Add support for Rockchip SoC layer device tree bindings 2014-09-09 17:29:59 -07:00