netdev-vport: Actually destroy the vport when "destroy" is called
authorJustin Pettit <jpettit@nicira.com>
Wed, 13 Oct 2010 07:14:31 +0000 (00:14 -0700)
committerJustin Pettit <jpettit@nicira.com>
Wed, 13 Oct 2010 07:14:31 +0000 (00:14 -0700)
commit65d9664a0f0199ac21e12eb73f734af3588ef5fd
treea4e23fe5668566c6bf2d1bcf61bb68fac7e9df5a
parentc06955bc63bf504fc6fa87fd9780993bc45cad09
netdev-vport: Actually destroy the vport when "destroy" is called

Commit 2b9d65 (netdev-vport: Merge in netdev-patch and netdev-tunnel.)
refactored the common parts of the netdev-patch and netdev-tunnel
sources into netdev-vport.  During the refactoring, the "destroy" method
didn't inherit the netdev_vport_do_ioctl(ODP_VPORT_DEL, ...) call, which
is needed to actually destroy the device in the kernel.  This commit
fixes that.

Bug #3267
lib/netdev-vport.c