net: Introduce unregister_netdevice_many()
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 27 Oct 2009 07:04:19 +0000 (07:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Oct 2009 09:22:06 +0000 (02:22 -0700)
commit9b5e383c11b08784eb0087617f880077982ef769
tree090e01601641c39bfb160aa6772336e363628503
parent44a0873d52282f24b1894c58c0f157e0f626ddc9
net: Introduce unregister_netdevice_many()

Introduce rollback_registered_many() and unregister_netdevice_many()

rollback_registered_many() is able to perform necessary steps at device dismantle
time, factorizing two expensive synchronize_net() calls.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c