[ovs-dev] [PATCH] Fix extract_ofp_msgs to use HMAP_NODE_NULL_INITIALIZER instead of hard-coding {0, NULL} while creating _instances[] arrays

Ben Pfaff blp at nicira.com
Wed Oct 14 01:52:11 UTC 2015

On Tue, Oct 13, 2015 at 06:38:57PM -0700, Sabyasachi Sengupta wrote:
> >This change will cause segfaults if anything ever reaches the end of a
> >bucket.
> Oh, didn't realize that, but it seems to work fine in my setup. Just
> wondering how it works while initializing all_raw_instances. I'm curious how
> would it be different for _instances.

I take it back.  It is harmless, but it doesn't have any benefit.

More information about the dev mailing list