Re: Cannot move macvlan interface on top of bonding device
From: Francesco Ruggeri <hidden>
Date: 2014-09-18 17:36:02
From: Francesco Ruggeri <hidden>
Date: 2014-09-18 17:36:02
quoted
May be a better solution is: features = netdev_increment_features(vlan->lowerdev->features & MACVLAN_FEATURS, features, mask); This way we start with only the feature MACVLAN is interested in.Seems correct, since it will also prevent other non-macvlan features from appearing. Thanks Vlad.
I verified that this approach also solves my original problem (moving a macvlan on top of a bonding device to a different namespace). I do not know how to fully test it with different types of lower devices and features though. If anybody wants to take the lead on this it would be great. Otherwise a more limited patch only clearing the NETIF_F_NETNS_LOCAL bit was also submitted earlier (http://marc.info/?l=linux-netdev&m=141097807310566&w=2). Thanks, Francesco