commit | 263344e64c0a2ac0e409a1a3f27effb6d57b853e | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | Wed Sep 30 20:16:54 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 01 18:24:05 2015 -0700 |
tree | 1383a9017adcfb96767f49cd36f3adfc4357e188 | |
parent | 77751ee8aec3e1748e0d1471ccbfc008793e88a6 [diff] |
bridge: vlan: fix possible null ptr derefs on port init and deinit When a new port is being added we need to make vlgrp available after rhashtable has been initialized and when removing a port we need to flush the vlans and free the resources after we're sure noone can use the port, i.e. after it's removed from the port list and synchronize_rcu is executed. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>