From: Denis Kenzior <denkenz@gmail.com>
To: Johannes Berg <johannes@sipsolutions.net>,
linux-wireless@vger.kernel.org
Cc: stable@vger.kernel.org
Subject: Re: [PATCH] cfg80211: Purge frame registrations on iftype change
Date: Wed, 11 Sep 2019 07:12:42 -0500 [thread overview]
Message-ID: <8fdb9d1f-d535-22ed-1a1a-357f826ecf54@gmail.com> (raw)
In-Reply-To: <ea9a895d18a34b876c440e6272b1d55d27c8a419.camel@sipsolutions.net>
Hi Johannes,
>> 'typical' failure paths. I didn't add such checking in the other patch
>> set since I felt you might find it overly intrusive on userspace. But
>> maybe we really should do this?
>
> As I just said on the other patch, I think we probably should do that
> there, if just to be able to advertise a correct set of interface types
> that you can switch between there. I don't see how it'd be more
> intrusive to userspace than failing later? :-)
What I was worried about was that all the fullmac drivers would have had
to be updated to set the feature bit, and it would have caused
wpa_s/hostapd to no longer be able to do the whole set_iftype -> ebusy
-> ifdown & set_iftype retry logic until all were updated.
>> I would concur as that is what happens today. But should it?
>
> Well, dunno, what should happen? If you ask drivers they might want to
> remove & re-register after, for those registrations that are still
> possible.
>
I would think you'd want to define a clear order of operations that
cfg80211 / mac80211 would enforce :)
>
> Let's not then.
>
> I've applied this patch now.
>
Great, thanks.
Regards,
-Denis
prev parent reply other threads:[~2019-09-11 14:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-28 21:11 [PATCH] cfg80211: Purge frame registrations on iftype change Denis Kenzior
2019-08-30 8:53 ` Johannes Berg
2019-08-30 6:32 ` Denis Kenzior
2019-09-11 9:51 ` Johannes Berg
2019-09-11 12:12 ` Denis Kenzior [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=8fdb9d1f-d535-22ed-1a1a-357f826ecf54@gmail.com \
--to=denkenz@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=stable@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).