net: Implement for_each_netdev_reverse.
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 29 Nov 2009 22:25:26 +0000 (22:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Dec 2009 00:15:50 +0000 (16:15 -0800)
commitdcbccbd4f1f6ad0f0e169d4b2e816e42bde06f82
tree2a2accb2cedfea63ecaafbe1156fc44b4f2acff1
parenta5ee155136b4a8f4ab0e4c9c064b661da475e298
net: Implement for_each_netdev_reverse.

I will need this shortly to implement network namespace shutdown
batching.  For sanity sake network devices should be removed in
the reverse order they were created in.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h