From: Johannes Berg <johannes@sipsolutions.net>
To: Gilad Itzkovitch <gilad.itzkovitch@morsemicro.com>
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] wifi: ieee80211: Fix for fragmented action frames
Date: Mon, 29 Aug 2022 09:17:37 +0200 [thread overview]
Message-ID: <2bec21b921168ea67a1746f882f30d4a6cabb627.camel@sipsolutions.net> (raw)
In-Reply-To: <CAG_xHGO1GvSy0pC=xNfBGyAin9b58k+b78+7gWv1YoOuQ9OAHQ@mail.gmail.com>
Hi,
On Mon, 2022-08-29 at 15:43 +1200, Gilad Itzkovitch wrote:
>
> > This doesn't make much sense to me - why would it be allowed or
> > necessary to call this function on a frame that wasn't yet defragmented?
>
> That was partially our understanding. But, the fragmented action frame is
> being dropped by this function
>
Well, this function doesn't drop anything :) It just answers a question
"is this a robust management frame", but if the question is nonsense
(calling it on a fragment other than the first) then the answer will
also be nonsense, right?
> as it is part of the provisioning DPP process
> (fragmented due to S1G low rates).
Right.
> Trying to avoid a big change here for this specific action category.
It's not really related to any specific category, is it?
> As defragmentation will occur later on in the process there should be a
> safe way to avoid dropping the frame beforehand.
Sure! But this isn't really a good way, nor would I argue it is safe ...
Perhaps ieee80211_rx_h_decrypt() needs to be more careful? I'm not even
sure where the frame really is being dropped.
Anyway, I really don't think this patch makes any sense, I think you
need to back up a bit and look at the higher layer(s) to see where and
why it's being dropped, and skip that if it's fragmented?
johannes
prev parent reply other threads:[~2022-08-29 7:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-10 22:48 Gilad Itzkovitch
2022-08-25 8:08 ` Johannes Berg
2022-08-29 3:43 ` Gilad Itzkovitch
2022-08-29 7:17 ` 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=2bec21b921168ea67a1746f882f30d4a6cabb627.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=gilad.itzkovitch@morsemicro.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@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
all inboxes | Powered by JetHome®