Mon, Oct 12, 2015 at 10:47:02PM IDT, razor@xxxxxxxxxxxxx wrote: >From: Nikolay Aleksandrov <nikolay@xxxxxxxxxxxxxxxxxxx> > >The bridge and port's vlgrp member is already used in RCU way, currently >we rely on the fact that it cannot disappear while the port exists but >that is error-prone and we might miss places with improper locking >(either RCU or RTNL must be held to walk the vlan_list). So make it >official and use RCU for vlgrp to catch offenders. Introduce proper vlgrp >accessors and use them consistently throughout the code. > >Signed-off-by: Nikolay Aleksandrov <nikolay@xxxxxxxxxxxxxxxxxxx> Reviewed-by: Ido Schimmel <idosch@xxxxxxxxxxxx>