[PATCH 2/2] test: verify correct vlan operation in multi-bss multi-vlan case

M. Braun michael-dev
Tue Jun 9 00:56:16 PDT 2015


Hi,

is there anything left I can do about it?

Would you mind trying this again now that 9649b534 is applied, so there
should be a more readable error message in the log (I belive you were
testing with hostapd config CONFIG_VLAN_NETLINK=y set).

Thanks,
M. Braun


Am 03.05.2015 um 20:37 schrieb Jouni Malinen:
> On Mon, Apr 27, 2015 at 09:08:04AM +0200, Michael Braun wrote:
>> This adds hwsim test ap_vlan_iface_cleanup_multibss. It connects two stations
>> in different BSS but the same hostapd process. First both stations are in
>> VLAN 1, then they get reauthenticated into VLAN 2. Due to the ordering of the
>> stations moving around, this patch checks that bridge and tagged interface
>> referencing counting is done globally, such that the tagged interface is not
>> removed too early and not bridge is left over.
> 
> This seems to fail for me with "Exception: dummy0.1 not in brvlan1". The
> reason for that shows up in hostapd log:
> 
> VLAN: Set interface brvlan1 up
> VLAN: Set interface dummy0 up
> VLAN: vlan_add(if_name=dummy0, vid=1, vlan_if_name=dummy0.1)
> VLAN: failed to create link dummy0.1 for vlan 1 on dummy0 (11)
> VLAN: br_addif(brvlan1, dummy0.1)
> VLAN: br_addif: Failure determining interface index for 'dummy0.1'
> VLAN: Set interface dummy0.1 up
> VLAN: ifconfig_helper: ioctl(SIOCGIFFLAGS) failed for interface dummy0.1: No such device
> 
> 
> Any idea what would be causing this? I already had to add CONFIG_DUMMY=y
> to get even this far, but that did not seem to be enough to make the
> test case work for me.
> 



More information about the Hostap mailing list