kernel-fxtec-pro1x/net/xdp
Li RongQing d10a69cadb xdp: Fix xsk_generic_xmit errno
[ Upstream commit aa2cad0600ed2ca6a0ab39948d4db1666b6c962b ]

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-25 15:33:05 +02:00
..
Kconfig
Makefile
xdp_umem.c xsk: Add overflow check for u64 division, stored into u32 2020-06-03 08:19:48 +02:00
xdp_umem.h
xdp_umem_props.h
xsk.c xdp: Fix xsk_generic_xmit errno 2020-06-25 15:33:05 +02:00
xsk_queue.c
xsk_queue.h xsk: Properly terminate assignment in xskq_produce_flush_desc 2019-07-26 09:14:12 +02:00