mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Remi Pommarel <repk@triplefau.lt>,
	linux-wireless@vger.kernel.org,  linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH v2 wireless-next 3/3] wifi: mac80211: Check link id at station removal
Date: Tue, 22 Jul 2025 14:26:30 +0200	[thread overview]
Message-ID: <e3c98a92b7c6177f7784387f6f2038ca0b11c57c.camel@sipsolutions.net> (raw)
In-Reply-To: <ce42107117526535474cf81d514fd030c7376e85.1752225123.git.repk@triplefau.lt> (sfid-20250711_121425_681537_FFC4AA99)

On Fri, 2025-07-11 at 12:03 +0200, Remi Pommarel wrote:
> hostapd can remove a non-MLD sta connected to one link of one MLD AP
> several times. If the sta roamed to another link of the same MLD AP
> between two of those removals the wrong sta_info could be removed.
> 
> To fix that remove sta only if it is currently using the link specified
> in NL80211_CMD_DEL_STATION if they are any.

That also looks fine.

Would be nice if you could later contribute the hwsim test for it, since
it sounded like you had one :)

johannes

      reply	other threads:[~2025-07-22 12:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-11 10:03 [RFC PATCH v2 wireless-next 0/3] Allow non-MLD sta to roam between MLD AP links Remi Pommarel
2025-07-11 10:03 ` [RFC PACTH v2 wireless-next 1/3] wifi: mac80211: Get link_id from freq for received management frame Remi Pommarel
2025-07-22 12:22   ` Johannes Berg
2025-07-11 10:03 ` [RFC PATCH v2 wireless-next 2/3] wifi: mac80211: Correctly init MLO link in ieee80211_8023_xmit() Remi Pommarel
2025-07-22 12:25   ` Johannes Berg
2025-07-11 10:03 ` [RFC PATCH v2 wireless-next 3/3] wifi: mac80211: Check link id at station removal Remi Pommarel
2025-07-22 12:26   ` Johannes Berg [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=e3c98a92b7c6177f7784387f6f2038ca0b11c57c.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=repk@triplefau.lt \
    /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®