Greetings!

I encountered a bug in ovs-vsctl that may be worth sharing with you.

The code path in the error case when bridge's del-port is attempted for the
parent (instead of the fake-bridge) segfaults. Here are some simple steps for
reproducing this issue:

PARENT_BRIDGE=br0 ; FAKE_BRIDGE=br0c ; VLAN_TAG=666
ovs-vsctl add-br $PARENT_BRIDGE
ovs-vsctl add-br $FAKE_BRIDGE $PARENT_BRIDGE $VLAN_TAG
ovs-vsctl add-port $FAKE_BRIDGE p1
ovs-vsctl del-port $PARENT_BRIDGE p1

I submitted more info and a proposed fix to ovs-dev [1]. Please see if it
makes sense and let me know if that is useful.

Thanks,

-- flaviof

[1]: https://patchwork.ozlabs.org/patch/907245/
     https://patchwork.ozlabs.org/patch/907246/


Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to