diff options
author | 2017-12-15 20:20:06 +0300 | |
---|---|---|
committer | 2017-12-19 13:24:23 -0500 | |
commit | e688822d035b494071ecbadcccbd6f3325fb0f59 (patch) | |
tree | ff923bd3c48d2f90919f102f76b99ef7272b5974 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: mediatek: setup proper state for disabled GMAC on the default (diff) | |
download | wireguard-linux-e688822d035b494071ecbadcccbd6f3325fb0f59.tar.xz wireguard-linux-e688822d035b494071ecbadcccbd6f3325fb0f59.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions