diff options
author | Li RongQing <[email protected]> | 2020-06-11 13:11:06 +0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-06-11 23:44:33 +0200 |
commit | aa2cad0600ed2ca6a0ab39948d4db1666b6c962b (patch) | |
tree | 2916f14c96f58814b34ae50940de56d6fdbd8692 /tools/perf/scripts/python/stackcollapse.py | |
parent | d4060ac969563113101c79433f2ae005feca1c29 (diff) |
xdp: Fix xsk_generic_xmit errno
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: 35fcde7f8deb ("xsk: support for Tx")
Signed-off-by: Li RongQing <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Björn Töpel <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions