]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'bridge-vlan'
authorDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 11:58:04 +0000 (04:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 11:58:04 +0000 (04:58 -0700)
Nikolay Aleksandrov says:

====================
bridge: vlan: cleanups & fixes (part 3)

Patch 01 converts the vlgrp member to use rcu as it was already used in a
similar way so better to make it official and use all the available RCU
instrumentation. Patch 02 fixes a bug where the vlan_list can be traversed
without rtnl or rcu held which could lead to using freed entries.
Patch 03 removes some redundant code that isn't needed anymore.
Patch 04 fixes a bug reported by Ido Schimmel about the vlan_flush order
and switchdevs, it moves it back.

v2: patch 03 and 04 are new, couldn't escape the second synchronize_rcu()
since the rhtable destruction can sleep
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge