From: "John W. Linville" <linville@tuxdriver.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org, flamingice@sourmilk.net
Subject: Re: [RFC] mac80211: no missing key complaint if frame may not be for us
Date: Wed, 24 Oct 2007 09:48:55 -0400 [thread overview]
Message-ID: <20071024134855.GA3435@tuxdriver.com> (raw)
In-Reply-To: <1193216455.5715.2.camel@johannes.berg>
On Wed, Oct 24, 2007 at 11:00:55AM +0200, Johannes Berg wrote:
> On Tue, 2007-10-23 at 17:46 -0400, John W. Linville wrote:
>
> > + /* if there are multiple SSIDs on this BSSID, the frame may
> > + not be for us anyway; so, check that either the frame is
> > + unicast or that we are not in managed mode before
> > + complaining about a missing key */
> > + if ((!is_multicast_ether_addr(hdr->addr1) ||
> > + rx->sdata->type != IEEE80211_IF_TYPE_STA) &&
> > + net_ratelimit())
>
> I think this and the other patch looks good, though I'm not entirely
> sure about the !STA test yet. I suppose though !STA means that we're in
> some way an AP and then we're the only one sending real multicast
> traffic.
>
> Is it worth keeping this message at all?
I considered removing it, and that may be the best bet. Still, I
thought it might be worth yelling about it in at least some instances.
Along those lines, the !STA check was there because that was the
only case I knew might not be worth complaining about. For example,
an IBSS should not be reusing a BSSID for multiple SSIDs...right?
Heck, maybe that isn't any crazier than doing the same thing in an
infrastructure network...
Well, what do you think? Leave it as-is? Leave only the !multicast
check? Or remove the message completely?
John
--
John W. Linville
linville@tuxdriver.com
next prev parent reply other threads:[~2007-10-24 14:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-23 21:46 [RFC] mac80211: no missing key complaint if frame may not be for us John W. Linville
2007-10-23 21:46 ` [RFC] mac80211: no decrypt failed " John W. Linville
2007-10-24 9:00 ` [RFC] mac80211: no missing key " Johannes Berg
2007-10-24 13:48 ` John W. Linville [this message]
2007-10-25 13:25 ` Johannes Berg
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=20071024134855.GA3435@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=flamingice@sourmilk.net \
--cc=johannes@sipsolutions.net \
--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;
as well as URLs for NNTP newsgroup(s).