net: introduce NETDEV_UNREGISTER_PERNET
authorOctavian Purdila <opurdila@ixiacom.com>
Mon, 16 Nov 2009 13:49:35 +0000 (13:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Nov 2009 13:03:03 +0000 (05:03 -0800)
This new event is called once for each unique net namespace in batched
unregister operations (with the argument set to a random device from
that namespace) and once per device in non-batched unregister
operations.

It allows us to factorize some device unregister work such as clearing the
routing cache.

Signed-off-by: Octavian Purdila <opurdila@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found