[ovs-dev] [PATCH] ovn-nbctl: Don't segfault when ovn-northd doesn't configure dynamic addresses.

Ben Pfaff blp at ovn.org
Mon Mar 4 23:38:03 UTC 2019


On Mon, Mar 04, 2019 at 02:35:38PM -0800, Justin Pettit wrote:
> When ovn-nbctl is used to configure a logical switch port's addresses, it
> does a sanity-check to make sure that a duplicate address isn't being
> used.  If a port is configured as "dynamic", ovn-northd is supposed to
> populate the "dynamic_addresses" column in the Logical_Switch_Port
> table.  If it isn't ovn-nbctl, would dereference a null pointer as part
> of the duplicate address check.  This patch checks that "dynamic_addresses"
> is actually set first.
> 
> Signed-off-by: Justin Pettit <jpettit at ovn.org>

Acked-by: Ben Pfaff <blp at ovn.org>


More information about the dev mailing list