This patch set fixes three bugs in the SKB TX path of AF_XDP. Details in the individual commits.
The structure of the patch set is as follows: Patch 1: Fix for lost completion message Patch 2-3: Fix for possible multiple completions of single packet Patch 4: Fix potential race during error Changes from v1: * Added explanation of race in commit message of patch 4. /Magnus Magnus Karlsson (4): xsk: fix potential lost completion message in SKB path xsk: frame could be completed more than once in SKB path samples/bpf: deal with EBUSY return code from sendmsg in xdpsock sample xsk: fix potential race in SKB TX completion code include/net/xdp_sock.h | 4 ++++ net/xdp/xsk.c | 10 +++++++--- net/xdp/xsk_queue.h | 9 ++------- samples/bpf/xdpsock_user.c | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-) -- 2.7.4