From: Eric Dumazet Date: Thu, 19 May 2011 12:24:16 +0000 (+0000) Subject: macvlan: remove one synchronize_rcu() call X-Git-Tag: v3.0-rc1~377^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=449f4544267e73d5db372971da63634707c32299;p=pandora-kernel.git macvlan: remove one synchronize_rcu() call When one macvlan device is dismantled, we can avoid one synchronize_rcu() call done after deletion from hash list, since caller will perform a synchronize_net() call after its ndo_stop() call. Add a new netdev->dismantle field to signal this dismantle intent. Reduces RTNL hold time. Signed-off-by: Eric Dumazet CC: Patrick McHardy CC: Ben Greear Signed-off-by: David S. Miller --- Reading git-diff-tree failed