vswitchd: Clean up iface_create().
authorBen Pfaff <blp@nicira.com>
Tue, 24 Apr 2012 23:53:01 +0000 (16:53 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 25 Apr 2012 03:12:41 +0000 (20:12 -0700)
commite38e9c0b41e34c8adf89212e621d692768b9682f
treeaca3eed10b0006bef97751bc8511a67b0b05f0eb
parent2eb56b303396d852c730b3414682be13f3bb7559
vswitchd: Clean up iface_create().

iface_create() did its work in an order that meant it had to do a lot more
cleanup on error paths than is otherwise needed.  This commit reorders the
work to avoid this extra cleanup.

bridge_ofproto_port_del() is no longer used after the refactoring so this
commit deletes it.

Signed-off-by: Ben Pfaff <blp@nicira.com>
vswitchd/bridge.c