dpif-linux: Clean up vports that are no longer in config.
authorJesse Gross <jesse@nicira.com>
Sat, 10 Apr 2010 05:19:29 +0000 (01:19 -0400)
committerJesse Gross <jesse@nicira.com>
Mon, 19 Apr 2010 13:11:57 +0000 (09:11 -0400)
commit3abc4a1a6c29ebecffeecedd582c64e0bb7d4c53
tree6696e83d46642f9266225a8b5beb1e77ed77a611
parentfdd8224884cbc92dd6e42f617018625f6a6d4c96
dpif-linux: Clean up vports that are no longer in config.

If the config changes while ovs-vswitchd is not running it is possible
that there could be some vports which are no longer needed but won't
be destroyed when closed because they aren't open.  This deletes
unneeded vports at the same time that we clean up unneeded datapaths.
lib/dpif-linux.c