netdev: Allow explicit creation of netdev objects
authorJustin Pettit <jpettit@nicira.com>
Tue, 1 Dec 2009 09:14:33 +0000 (01:14 -0800)
committerJustin Pettit <jpettit@nicira.com>
Wed, 2 Dec 2009 03:01:01 +0000 (19:01 -0800)
This change adds netdev_create() and netdev_destroy() functions to allow
the creation of network devices through the netdev library.  Previously,
network devices had to already exist or be created on demand through
netdev_open().  This caused problems such as not being able to specify
TAP devices as ports in ovs-vswitchd, which this patch fixes.

This also lays the groundwork for adding GRE and VDE support.


No differences found