diff options
| author | Nikolay Aleksandrov <[email protected]> | 2015-09-30 18:16:54 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-10-02 01:24:05 +0000 |
| commit | 263344e64c0a2ac0e409a1a3f27effb6d57b853e (patch) | |
| tree | 1383a9017adcfb96767f49cd36f3adfc4357e188 /net/switchdev/switchdev.c | |
| parent | bridge: vlan: move pvid inside net_bridge_vlan_group (diff) | |
| download | kernel-263344e64c0a2ac0e409a1a3f27effb6d57b853e.tar.gz kernel-263344e64c0a2ac0e409a1a3f27effb6d57b853e.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
