Re: [PATCH net-next] net/af_packet: check len when min_header_len equals to 0

From: patchwork-bot+netdevbpf
Date: Fri Jul 29 2022 - 07:20:42 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Wed, 27 Jul 2022 17:33:12 +0800 you wrote:
> User can use AF_PACKET socket to send packets with the length of 0.
> When min_header_len equals to 0, packet_snd will call __dev_queue_xmit
> to send packets, and sock->type can be any type.
>
> Reported-by: syzbot+5ea725c25d06fb9114c4@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: fd1894224407 ("bpf: Don't redirect packets with invalid pkt_len")
> Signed-off-by: Zhengchao Shao <shaozhengchao@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net-next] net/af_packet: check len when min_header_len equals to 0
https://git.kernel.org/netdev/net-next/c/dc633700f00f

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