linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: "Blaž Bačnik" <bacnik@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: VLAN traffic appearing on the wrong iface
Date: Wed, 30 Sep 2009 22:16:27 +0200	[thread overview]
Message-ID: <1254341787.3959.11.camel@johannes.local> (raw)
In-Reply-To: <57b62e7d0909291754x352ae254sa33ee7efb430d497@mail.gmail.com>

On Wed, 2009-09-30 at 02:54 +0200, Blaž Bačnik wrote:
> I use RADIUS-assigned vlans with my AP. Hostapd reports vlan change
> during authentication and the station appears on correct vlan
> according to "iw dev ... station dump". But actual packets keep coming
> in on the default interface (wlan0), not the vlan one (eg. wlan0.2).

Actually, it looks like they come in on both :)

> I also tried taking RADIUS out of the loop, so I used hostapd's
> "accept_mac_file" with specified vlan and I think I might have found
> another bug. After applying the patch below (for I believe a rather
> obvious typo), kernel started oopsing and I gave up. If needed, I can
> provide config files for either hostapd or freeradius server, though
> it looks like this is a driver problem.

I can't reproduce that oops, but we have a fix to the issue which I'll
send separately.

johannes



  parent reply	other threads:[~2009-09-30 20:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-30  0:54 VLAN traffic appearing on the wrong iface Blaž Bačnik
2009-09-30 17:51 ` Jouni Malinen
2009-09-30 20:16 ` Johannes Berg [this message]
2009-09-30 20:18   ` [PATCH 2.6.32] mac80211: fix vlan and optimise RX Johannes Berg
2009-10-01 20:06     ` [PATCH v2 " Johannes Berg
2009-10-01 14:32   ` VLAN traffic appearing on the wrong iface Blaž Bačnik
2009-10-01 14:40     ` Blaž Bačnik
2009-10-01 18:39       ` Johannes Berg
2009-10-01 19:55         ` Blaž Bačnik
2009-10-01 20:02           ` 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=1254341787.3959.11.camel@johannes.local \
    --to=johannes@sipsolutions.net \
    --cc=bacnik@gmail.com \
    --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).