linux/net/xdp
Li RongQing e7847db7aa xdp: Fix xsk_generic_xmit errno
[ Upstream commit aa2cad0600 ]

Propagate sock_alloc_send_skb error code, not set it to
EAGAIN unconditionally, when fail to allocate skb, which
might cause that user space unnecessary loops.

Fixes: 35fcde7f8d ("xsk: support for Tx")
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Link: https://lore.kernel.org/bpf/1591852266-24017-1-git-send-email-lirongqing@baidu.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-24 17:50:44 +02:00
..
Kconfig
Makefile
xdp_umem.c xsk: Add overflow check for u64 division, stored into u32 2020-06-03 08:21:36 +02:00
xdp_umem.h
xsk_diag.c
xsk_queue.c
xsk_queue.h
xsk.c xdp: Fix xsk_generic_xmit errno 2020-06-24 17:50:44 +02:00
xsk.h