Re: regression in bonding driver with VLAN challenged interfaceswhen 8021q module is loaded
From: Jiri Pirko
Date: Sun Oct 14 2012 - 10:32:34 EST
Thu, Oct 11, 2012 at 04:28:40PM CEST, jstanley@xxxxxxxx wrote:
>Since commit cc0e40700656b09d93b062ef6c818aa45429d09a, there is a
>problem if you have the 8021q module loaded and you then attempt to
>enslave a VLAN challenged interface. This is because VLAN 0 is
>automatically added to the bond, and the new bond_vlan_used() function
>simply checks for an empty list in bond->vlan_list without taking into
>account that VLAN0 might be on the interface.
>
>This specifically affects IPoIB interfaces in a bond if you do a
>down/up cycle on the bond post-boot (during boot, the bonding module
>is loaded prior to the 8021q module, so everything is fine).
>
>Let me know if further information or testing is needed.
Thanks for the report. I just fixed this by following patch:
http://patchwork.ozlabs.org/patch/191363/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/