Re: [PATCH net-next v2 1/4] bridge: vlan: use proper rcu for the vlgrp member

2015-10-13 Thread Ido Schimmel
Mon, Oct 12, 2015 at 10:47:02PM IDT, ra...@blackwall.org wrote: >From: Nikolay Aleksandrov > >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

[PATCH net-next v2 1/4] bridge: vlan: use proper rcu for the vlgrp member

2015-10-12 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov 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