From: Paul TBBle Hampson <Paul.Hampson@Pobox.com>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: Johannes Berg <johannes@sipsolutions.net>,
Michael Wu <flamingice@sourmilk.net>,
linux-wireless@vger.kernel.org, jbenc@suse.cz,
Michael Buesch <mb@bu3sch.de>, Daniel Drake <dsd@gentoo.org>,
David Woodhouse <dwmw2@infradead.org>,
Bcm43xx-dev@lists.berlios.de,
Larry Finger <larry.finger@lwfinger.net>
Subject: Re: mac80211 IPv6 problems
Date: Sun, 19 Aug 2007 12:45:52 +1000 [thread overview]
Message-ID: <20070819024552.GA10836@keitarou> (raw)
In-Reply-To: <20070817134941.GB6090@tuxdriver.com>
[-- Attachment #1: Type: text/plain, Size: 2013 bytes --]
On Fri, Aug 17, 2007 at 09:49:41AM -0400, John W. Linville wrote:
> On Fri, Aug 17, 2007 at 02:52:56AM +0200, Johannes Berg wrote:
>> On Mon, 2007-08-06 at 13:05 -0400, John W. Linville wrote:
>>
> >> --- a/net/mac80211/ieee80211.c
> >> +++ b/net/mac80211/ieee80211.c
> >> @@ -3030,9 +3030,10 @@ ieee80211_rx_h_data(struct ieee80211_txrx_data *rx)
> >> memcpy(dst, hdr->addr1, ETH_ALEN);
> >> memcpy(src, hdr->addr3, ETH_ALEN);
> >>
> >> - if (sdata->type != IEEE80211_IF_TYPE_STA) {
> >> + if (sdata->type != IEEE80211_IF_TYPE_STA ||
> >> + (is_multicast_ether_addr(dst) &&
> >> + !compare_ether_addr(src, dev->dev_addr)))
> >> return TXRX_DROP;
>> I can confirm that this works (applies if you s/ieee80211.c/rx.c/) for
>> IPv6 link local addresses, and it's definitely the right thing to do
>> here.
> Yes, seems so. FWIW, this patch is in later Fedora kernels.
> Unfortunately (due to the ieee80211.c -> rx.c issue you mentioned)
> applying this to 2.6.23 conflicts with patches already queued for
> 2.6.24. Since my experiments show that git doesn't help much in this
> instance, I'll need to work something out with Dave M. if we are to
> get this into 2.6.23.
> If nothing else, I suppose we can just wait for 2.6.23 and send this
> patch to -stable. Would that burn anyone's biscuits?
Suits me. The only machine this is currently relevant to is tracking
wireless-dev#evertything for the moment.
--
-----------------------------------------------------------
Paul "TBBle" Hampson, B.Sc, LPI, MCSE
Very-later-year Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson@Pobox.com
Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
-- Kristian Wilson, Nintendo, Inc, 1989
License: http://creativecommons.org/licenses/by/2.1/au/
-----------------------------------------------------------
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-08-19 2:45 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-02 15:53 [RFC 0/10] Port of bcm43xx from softmac to mac80211 Larry Finger
2007-08-02 16:07 ` Michael Buesch
2007-08-02 16:30 ` Larry Finger
2007-08-02 21:04 ` David Woodhouse
2007-08-02 21:06 ` Michael Buesch
2007-08-02 21:31 ` Larry Finger
2007-08-02 22:30 ` mac80211 IPv6 problems Daniel Drake
2007-08-02 22:36 ` Michael Buesch
2007-08-02 22:38 ` David Miller
2007-08-02 22:46 ` David Woodhouse
2007-08-03 0:55 ` John W. Linville
2007-08-03 8:02 ` Michael Wu
2007-08-06 17:05 ` John W. Linville
2007-08-08 3:19 ` Michael Wu
2007-08-11 6:29 ` Paul TBBle Hampson
2007-08-17 0:52 ` Johannes Berg
2007-08-17 13:49 ` John W. Linville
2007-08-19 2:45 ` Paul TBBle Hampson [this message]
2007-08-03 10:40 ` David Woodhouse
2007-08-02 16:45 ` [RFC 0/10] Port of bcm43xx from softmac to mac80211 Erik Mouw
2007-08-02 17:25 ` Larry Finger
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=20070819024552.GA10836@keitarou \
--to=paul.hampson@pobox.com \
--cc=Bcm43xx-dev@lists.berlios.de \
--cc=dsd@gentoo.org \
--cc=dwmw2@infradead.org \
--cc=flamingice@sourmilk.net \
--cc=jbenc@suse.cz \
--cc=johannes@sipsolutions.net \
--cc=larry.finger@lwfinger.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=mb@bu3sch.de \
/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).