Thread (53 messages) flat view 53 messages, 8 authors, 2011-05-10

Re: [PATCH net-next-2.6] net: use batched device unregister in veth and macvlan

From: David Miller <davem@davemloft.net>
Date: 2011-05-09 18:42:33

From: Eric Dumazet <redacted>
Date: Mon, 09 May 2011 11:17:57 +0200
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 <redacted>
Signed-off-by: Eric Dumazet <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help