Re: [PATCH net v10] af_packet: Handle outgoing VLAN packets without hardware offloading

From: patchwork-bot+netdevbpf
Date: Mon Jul 15 2024 - 00:40:44 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Sat, 13 Jul 2024 19:47:35 +0800 you wrote:
> The issue initially stems from libpcap. The ethertype will be overwritten
> as the VLAN TPID if the network interface lacks hardware VLAN offloading.
> In the outbound packet path, if hardware VLAN offloading is unavailable,
> the VLAN tag is inserted into the payload but then cleared from the sk_buff
> struct. Consequently, this can lead to a false negative when checking for
> the presence of a VLAN tag, causing the packet sniffing outcome to lack
> VLAN tag information (i.e., TCI-TPID). As a result, the packet capturing
> tool may be unable to parse packets as expected.
>
> [...]

Here is the summary with links:
- [net,v10] af_packet: Handle outgoing VLAN packets without hardware offloading
https://git.kernel.org/netdev/net/c/79eecf631c14

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