Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples/bpf: deal with EBUSY return code from sendmsg in xdpsock sample
Sendmsg in the SKB path of AF_XDP can now return EBUSY when a packet was discarded and completed by the driver. Just ignore this message in the sample application. Fixes: b4b8faa ("samples/bpf: sample application and documentation for AF_XDP sockets") Signed-off-by: Magnus Karlsson <[email protected]> Reported-by: Pavel Odintsov <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
- Loading branch information