Re: [PATCH bpf v4] xskmap: reject TX-only AF_XDP sockets

From: patchwork-bot+netdevbpf

Date: Sat May 09 2026 - 19:21:16 EST


Hello:

This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Fri, 8 May 2026 22:43:43 +0800 you wrote:
> XSKMAP entries are used as redirect targets for incoming XDP frames.
> A TX-only AF_XDP socket lacks an Rx ring and cannot handle redirected
> traffic, but xsk_map_update_elem() currently allows such sockets to
> be inserted into the map.
>
> Redirecting packets to such a socket on the veth generic-XDP path
> causes a kernel crash in xsk_generic_rcv().
>
> [...]

Here is the summary with links:
- [bpf,v4] xskmap: reject TX-only AF_XDP sockets
https://git.kernel.org/bpf/bpf/c/bf6d507f7e3c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html