Skip to content
  • Eric Dumazet's avatar
    vlan: remove one synchronize_net() call · 48752e1b
    Eric Dumazet authored
    
    
    At VLAN dismantle phase, unregister_vlan_dev() makes one
    synchronize_net() call after vlan_group_set_device(grp, vlan_id, NULL).
    
    This call can be safely removed because we are calling
    unregister_netdevice_queue() to queue device for deletion, and this
    process needs at least one rcu grace period to complete.
    
    Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
    Cc: Ben Greear <greearb@candelatech.com>
    Cc: Patrick McHardy <kaber@trash.net>
    Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: Jesse Gross <jesse@nicira.com>
    Cc: Michał Mirosław <mirq-linux@rere.qmqm.pl>
    Acked-by: default avatarJesse Gross <jesse@nicira.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    48752e1b