Eric Dumazet 449f454426 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 <eric.dumazet@gmail.com>
CC: Patrick McHardy <kaber@trash.net>
CC: Ben Greear <greearb@candelatech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-05-20 00:33:18 -04:00
..
2011-05-12 17:54:13 -04:00
2011-04-17 00:48:31 -07:00
2011-05-15 17:45:56 -04:00
2011-03-14 17:02:42 -07:00
2011-01-12 19:00:40 -08:00
2011-05-19 17:13:04 -04:00
2011-03-21 18:16:39 -07:00
2011-05-13 14:55:21 -04:00
2011-05-12 17:27:10 -04:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-05 11:10:14 -07:00
2011-04-29 10:20:53 -07:00