diff options
| author | Li RongQing <[email protected]> | 2020-06-11 05:11:06 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-06-11 21:44:33 +0000 |
| commit | aa2cad0600ed2ca6a0ab39948d4db1666b6c962b (patch) | |
| tree | 2916f14c96f58814b34ae50940de56d6fdbd8692 /drivers/pci/controller/pci-host-generic.c | |
| parent | tools, bpftool: Fix memory leak in codegen error cases (diff) | |
| download | kernel-aa2cad0600ed2ca6a0ab39948d4db1666b6c962b.tar.gz kernel-aa2cad0600ed2ca6a0ab39948d4db1666b6c962b.zip | |
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 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions
