Re: [ovs-dev] [PATCH] vswitchd: Avoid writing to const struct

2012-12-08 Thread Ben Pfaff
On Sat, Dec 08, 2012 at 06:23:12PM -0500, Ed Maste wrote: > When built with Clang, vswitchd segfaulted in ovsrec_open_vswitch_init, > from calling memset() on a const struct. > > Signed-off-by: Ed Maste Applied to master, thanks. ___ dev mailing list d

Re: [ovs-dev] [PATCH] vswitchd: Avoid writing to const struct

2012-12-08 Thread Ben Pfaff
On Fri, Dec 07, 2012 at 05:41:16PM -0500, Ed Maste wrote: > When built with Clang, vswitchd segfaulted in ovsrec_open_vswitch_init, > from calling memset() on a const struct. > > Signed-off-by: Ed Maste > --- > This could be addressed instead by just dropping the const in the > null_cfg definitio