On Thu, Apr 06, 2017 at 11:26:06PM +0300, Nikolay Aleksandrov wrote: > Actually making br_vlan_init() idempotent might work, keep the code as-is > just init the > the vlans before the changelink() in newlink(), then the second vlan_init() > inside would > be a no-op, but it will work for the old ioctl and wouldn't require too much > change. > On the downside it will be ugly.
Yep, that can work. I'll try that tomorrow morning and let you know. Thanks Nik!