[PATCH v2 2/4] net/af_packet: make Rx VLAN stripped flag handling explicit

Stephen Hemminger stephen at networkplumber.org
Wed Aug 26 22:26:59 CEST 2026


On Wed, 26 Aug 2026 13:38:39 -0400
William Bland <blandwwa at gmail.com> wrote:

> Rx VLAN handling set RTE_MBUF_F_RX_VLAN_STRIPPED unconditionally,
> relying on rte_vlan_insert() to clear it again. This produced correct
> flags, but in a way that was not readily apparent from the driver.
> 
> Make the flag handling explicit in the driver itself: only set
> RTE_MBUF_F_RX_VLAN_STRIPPED when vlan_strip is requested, or when
> reinsertion fails. No behavioral change.
> 
> Signed-off-by: William Bland <blandwwa at gmail.com>
> ---

Applied to next-net.


More information about the dev mailing list