mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kyuwon Cho <kyuwoncho18@gmail.com>
To: Hangbin Liu <hangbin.liu@linux.dev>
Cc: netdev@vger.kernel.org, Jay Vosburgh <jv@jvosburgh.net>,
	Nikolay Aleksandrov <razor@blackwall.org>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH net v3 2/2] bonding: don't let an 802.3ad slave change its type
Date: Sun, 22 Nov 2026 20:29:30 -0800 (PST)	[thread overview]
Message-ID: <179540710966.3093990.1416762538136490909@gmail.com> (raw)
In-Reply-To: <20261123032537.GE10218@Liu-laptop>

On Mon, Nov 23, 2026 at 11:25:37AM +0800, Hangbin Liu wrote:
> Hmm, I personally prefer the approach used by vlan and team, which disallows
> changing the slave type after enslavement. If you think we should only disable
> the 802.3ad-specific part, this change should be merged with patch 1, as they
> address the same issue.

For net I would keep it to 802.3ad, where the type change leads to the
out-of-bounds read, and merge it into patch 1 as you suggest. Refusing
the type change in every mode would also make the enslave of the nlmon
device in bond-eth-type-change.sh fail. The test would still pass, as
it does not check that enslave, but it would no longer change the type
it is there to test, so that change seems better made in net-next.

Nikolay, would you rather have the general check?

I will send v4 with the two patches merged once this is settled.

Thanks,
Kyuwon Cho

      reply	other threads:[~2026-11-23  4:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22 14:59 [PATCH net v3 0/2] bonding: keep non-Ethernet slaves out of 802.3ad bonds Kyuwon Cho
2026-11-22 14:59 ` [PATCH net v3 1/2] bonding: reject a non-Ethernet 802.3ad slave even when the type matches Kyuwon Cho
2026-11-23  3:17   ` Hangbin Liu
2026-11-22 14:59 ` [PATCH net v3 2/2] bonding: don't let an 802.3ad slave change its type Kyuwon Cho
2026-11-23  3:25   ` Hangbin Liu
2026-11-23  4:29     ` Kyuwon Cho [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=179540710966.3093990.1416762538136490909@gmail.com \
    --to=kyuwoncho18@gmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=hangbin.liu@linux.dev \
    --cc=jv@jvosburgh.net \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=razor@blackwall.org \
    /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

all inboxes | Powered by JetHome®