[Projekt-wlan] VLAN support recently broken
michael-dev at fami-braun.de
Sat Jul 7 04:31:06 EDT 2012
Am 28.05.2012 06:50, schrieb Jouni Malinen:
> On Sun, May 27, 2012 at 04:34:55PM +0200, michael-dev wrote:
> Please also check whether this kernel patch is enough to fix the
> without requiring any changes in hostapd:
yes, it is sufficient.
> The first email in this thread seemed to point out a separate issue
> DELLINK/NEWLINK messages. If that is still an open issue, please
> a separate patch to fix it.
the issue about this is that with dynamic vlan support + placeholder
iff the interface to be created already exists, it gets deleted and
Due to the netlink messages coming in some time later, the dellink
removes the new interface from the hapd->conf->vlan list and the
message cannot add it, as the placeholder does not match.
This happens for example when hostapd shutdown is unclean (e.g. when
an infinite loop).
I'm currently not sure about how to fix this in a clean manner. Though
likely does not affect normal operation and can be avoided by deleting
old interfaces before starting hostapd again
More information about the HostAP