summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAlexander Kochetkov <al.kochet@gmail.com>2017-12-15 20:20:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-03 10:23:22 +0100
commit95e094a709eabaede6c53272b2d90925c55c02e0 (patch)
treeec76103ad853ade84e6f7f9fb970a3bea5b025d3 /net
parent757677d0da516f9f60b7a855ecbf10b73263e006 (diff)
net: arc_emac: fix arc_emac_rx() error paths
[ Upstream commit e688822d035b494071ecbadcccbd6f3325fb0f59 ] 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> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions