From: Eric Dumazet Date: Mon, 9 May 2011 04:40:44 +0000 (+0000) Subject: vlan: remove one synchronize_net() call X-Git-Tag: v3.0-rc1~377^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48752e1b1802231ef2a076f34d861918b7d571c3;p=pandora-kernel.git vlan: remove one synchronize_net() call 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: Eric Dumazet Cc: Ben Greear Cc: Patrick McHardy Cc: Paul E. McKenney Cc: Jesse Gross Cc: Michał Mirosław Acked-by: Jesse Gross Signed-off-by: David S. Miller --- Reading git-diff-tree failed