net: Simplify loopback and improve batching.
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 29 Nov 2009 22:25:29 +0000 (22:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Dec 2009 00:15:52 +0000 (16:15 -0800)
commit999b6d39abb4fc446f3465ca4e0a7ac747f49aec
tree9b1daca5ff657cd7f3c2f4fd6874e3618a808d87
parentf875bae065334907796da12523f9df85c89f5712
net: Simplify loopback and improve batching.

Defer calling unregister_netdevice_queue to cleanup_net.  It's simpler
and it allows the loopback device to land in the same batch as other
network devices.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/loopback.c