[ovs-dev] ovn-northd: ovsdb idl question

Ben Pfaff blp at ovn.org
Wed Dec 21 00:19:04 UTC 2016


On Tue, Dec 20, 2016 at 01:59:02PM -0500, Lance Richardson wrote:
> I've been investigating a crash in ovn-northd. This is very easy to
> reproduce by inserting a row into the NB Logical_Switch_Port table
> without setting the "name" column, e.g.:
> 
> ovn-nbctl ls-add ls0
> ovn-nbctl --id=@foo create logical_switch_port type='localnet' -- add logical_switch ls0 ports @foo
> 
> This leads to a null pointer dereference when sb->logical_port is
> dereferenced in update_logical_port_status().

Oops.  Sorry about that.

I posted a proposed bug fix:
        https://mail.openvswitch.org/pipermail/ovs-dev/2016-December/326528.html


More information about the dev mailing list