[ovs-dev] [PATCH 1/2] ovsdb-idl: Check if row->written is valid.
Jesse Gross
jesse at nicira.com
Thu Jun 24 15:58:07 PDT 2010
On Thu, Jun 24, 2010 at 3:54 PM, Ben Pfaff <blp at nicira.com> wrote:
> 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.
>
Thanks, I pushed both of these patches out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/dev/attachments/20100624/432f7894/attachment.htm>
More information about the dev
mailing list