diff options
| author | Eric Dumazet <[email protected]> | 2011-05-08 23:17:57 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-05-09 11:41:40 -0700 |
| commit | 226bd3411471af42f7edbdfaf73f2d54ebb62a66 (patch) | |
| tree | 3d815d5f9f2b060d2ce9567c2c2e8a6f5fbb42b0 /include/linux/timerqueue.h | |
| parent | 7ef73bca731fea9d4b706db2acb96b6488aa1b0e (diff) | |
net: use batched device unregister in veth and macvlan
veth devices dont use the batched device unregisters yet.
Since veth are a pair of devices, it makes sense to use a batch of two
unregisters, this roughly divides dismantle time by two.
Fix this by changing dellink() callers to always provide a non NULL
head. (Idea from Michał Mirosław)
This patch also handles macvlan case : We now dismantle all macvlans on
top of a lower dev at once.
Reported-by: Alex Bligh <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Michał Mirosław <[email protected]>
Cc: Jesse Gross <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Ben Greear <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions