summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2018-07-30 19:49:08 +0200
committerDavid S. Miller <davem@davemloft.net>2018-07-31 18:44:41 +0200
commit39c64d8c876622e766dd2112baf81151dd82da02 (patch)
treeb1bb7579587bf14e0199b644c535a70f52ded8e2 /drivers/s390/cio
parenthv_netvsc: Add per-cpu ethtool stats for netvsc (diff)
downloadlinux-39c64d8c876622e766dd2112baf81151dd82da02.tar.xz
linux-39c64d8c876622e766dd2112baf81151dd82da02.zip
mlx5: handle DMA mapping error case for XDP redirect
Commit 58b99ee3e3eb ("net/mlx5e: Add support for XDP_REDIRECT in device-out side") forgot to return/free the xdp_frame in case the DMA mapping failed, correct this. Also DMA unmap the frame in case mlx5e_xmit_xdp_frame() fails. Fixes: 58b99ee3e3eb ("net/mlx5e: Add support for XDP_REDIRECT in device-out side") Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/cio')
0 files changed, 0 insertions, 0 deletions