[ovs-dev] [openflow-discuss] vswitch-idl.c

Ben Pfaff blp at nicira.com
Fri Apr 27 20:45:55 UTC 2012


This is an OVS question and a development question and so it's odd to
bring it to a list for discussing OpenFlow.  I'm adding ovs-dev.

On Fri, Apr 27, 2012 at 01:41:39PM -0700, kiran shastri wrote:
> I was wondering why in this auto-generated file, we don't set the
> member count to 0 , when a column is unparsed?

Because nothing should look at that member after a column in
unparsed.  In fact, nothing outside of ovsdb-idl.c should have access
to the column at all at that point.  If it does, that's a bug in
ovsdb-idl.c or in the code that calls into it.

> I am running into issues where while cloning this row, sometimes the
> count is still set to a positive number, while the field is null and
> this cause a crash.

If you provide a full explanation of what you're doing, perhaps we can
help.



More information about the dev mailing list