Netdev List
 help / color / mirror / Atom feed
From: Hangbin Liu <liuhangbin@gmail.com>
To: Xiang Mei <xmei5@asu.edu>
Cc: Jay Vosburgh <jv@jvosburgh.net>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	 "David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	 Jakub Kicinski <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	netdev@vger.kernel.org,  linux-kernel@vger.kernel.org,
	AutonomousCodeSecurity@microsoft.com,
	 tgopinath@linux.microsoft.com, kys@microsoft.com
Subject: Re: [PATCH net] bonding: fix skb_under_panic in bond_ns_send() over stacked VLANs
Date: Sat, 1 Aug 2026 07:57:41 +0800	[thread overview]
Message-ID: <am01LskdPIN8yU2C@fedora> (raw)
In-Reply-To: <amrIbBqpw9Ol5wPJ@fedora>

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

      reply	other threads:[~2026-07-31 23:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-19 23:21 [PATCH net] bonding: fix skb_under_panic in bond_ns_send() over stacked VLANs Xiang Mei (Microsoft)
2026-07-20 17:58 ` Jay Vosburgh
2026-07-29 23:30   ` Xiang Mei
2026-07-30  3:50     ` Hangbin Liu
2026-07-31 23:57       ` Hangbin Liu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=am01LskdPIN8yU2C@fedora \
    --to=liuhangbin@gmail.com \
    --cc=AutonomousCodeSecurity@microsoft.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=jv@jvosburgh.net \
    --cc=kuba@kernel.org \
    --cc=kys@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=tgopinath@linux.microsoft.com \
    --cc=xmei5@asu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox