[ovs-dev] [PATCH 1/2] ovsdb-idl: Check if row->written is valid.

Ben Pfaff blp at nicira.com
Thu Jun 24 15:54:42 PDT 2010


On Thu, Jun 24, 2010 at 03:54:30PM -0700, Jesse Gross wrote:
> Commit cde3f1 "ovsdb-idl: Drop unnecessary allocation from
> ovsdb_idl_txn_insert()." does lazy allocation of row->written
> on the assumption that ovsdb_idl_txn_write() will handle it.
> However, this isn't the case for empty rows created by something
> like "ovs-vsctl init" so add a check before reading the bitfield.

How embarrassing.

Thanks Jesse, please push.




More information about the dev mailing list