I agree. Its just that this was the only place where hmap_node is initialized without the initializer macro..

---
Nuage Networks Business Unit, Alcatel-Lucent,
755 Ravendale Drive, Mountain View, CA, 94043
Mailstop: 1127, Ph: 1-650-623-3461

On Tue, 13 Oct 2015, Ben Pfaff wrote:

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.

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to