ovs-brcompatd: Fix dangling reference in del_port().
authorBen Pfaff <blp@nicira.com>
Tue, 23 Feb 2010 22:35:24 +0000 (14:35 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 25 Feb 2010 22:48:16 +0000 (14:48 -0800)
commita9f4baa6d0f0210cbd40500b968173e63380665e
treecb8a7882ce55683019f39723170e08e574dbbf94
parent7e56c85c02c547deda93ec09a589eae7e253fc58
ovs-brcompatd: Fix dangling reference in del_port().

Until now, del_port() was deleting Interface records without deleting the
Port record that referred to them.  OVSDB rejected that because it would
have caused a dangling reference from the Port to the Interfaces.  This
commit fixes the problem.

Bug #2425.
vswitchd/ovs-brcompatd.c