netdev: Adopt four-step alloc/construct/destruct/dealloc lifecycle.
authorBen Pfaff <blp@nicira.com>
Sat, 10 Aug 2013 04:21:38 +0000 (21:21 -0700)
committerBen Pfaff <blp@nicira.com>
Sat, 10 Aug 2013 04:21:38 +0000 (21:21 -0700)
commit9dc63482bbeae23dd57b0f885a3fd26b44656844
tree34b18a7774ba7e6bde6fe5377c4f6a0225b9616e
parent996e5ae9e915103607c7045daffaf6fab143ef34
netdev: Adopt four-step alloc/construct/destruct/dealloc lifecycle.

This is the same lifecycle used in the ofproto provider interface.
Compared to the previous netdev provider interface, it has the
advantage that the netdev top layer can control when any given
netdev becomes visible to the outside world.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/netdev-bsd.c
lib/netdev-dummy.c
lib/netdev-linux.c
lib/netdev-provider.h
lib/netdev-vport.c
lib/netdev.c