Re: [PATCH net] bonding: fix skb_under_panic in bond_ns_send() over stacked VLANs
From: Hangbin Liu
Date: Fri Jul 31 2026 - 19:58:04 EST
On 30.07.2026 11:50, Hangbin Liu wrote:
Hi Xiang,
On 29.07.2026 16:30, Xiang Mei wrote:
Does adding one or two more nested VLANs move the panic into the
above call path?
No, for both of the reasons above: there is no room to add more
(-EMLINK at N = 7), and skb_cow_head() would absorb it if there were.
What about the scenario that involves nested VLANs? For example:
vlan.1 - vlan.1.2 ... vlan.1..6 - bond - bond.1 - bond.1.2 ... bond.1..6?
Oh, I just remember that the MAX_NEST_DEV is 8. So there could be only 1
VLAN slave with this topology.
Thanks
Hangbin