Re: [BUG] vlan: skb_under_panic when toggling NETIF_F_HW_VLAN_CTAG_TX on lower device

From: Eric Dumazet

Date: Mon Jul 20 2026 - 03:38:35 EST


On Fri, Jul 17, 2026 at 8:42 AM xietangxin <xietangxin@xxxxxxxxxxxxxx> wrote:
>
>
> Hi Eric,
>
> Thanks for the suggestion. I tested both parts of your patch locally
> and can confirm the skb_under_panic no longer reproduces.

Excellent, thanks for testing.

>
> your diff is against an older tree. After commit
> cd1c188db109 ("vlan: defer real device state propagation to netdev_work"),
> vlan_transfer_features() has been moved to vlan_dev.c.

Yeah, I had this patch in an old branch, I should have rebased it.

>
> Could you post a formal patch?

Sure thing : https://lore.kernel.org/netdev/20260720072622.3541873-1-edumazet@xxxxxxxxxx/T/#u