Thx for the review, applied to master,~ On Wed, Oct 1, 2014 at 12:52 PM, Ben Pfaff <b...@nicira.com> wrote:
> On Wed, Oct 01, 2014 at 12:03:30PM -0700, Alex Wang wrote: > > Currently, the cmap_destroy() directly frees the cmap memory. > > Some callers of cmap_destroy() (e.g. destroy_subtable()) still > > allows other threads (e.g. pmd threads) accessing the cmap at > > the same time (e.g. via classifier_lookup_miniflow_batch()), > > which could cause segfault. > > > > To fix the above issue, this commit use ovsrcu to postpone > > the free of cmap memory. > > > > Reported-by: Ethan Jackson <et...@nicira.com> > > Signed-off-by: Alex Wang <al...@nicira.com> > > Acked-by: Ben Pfaff <b...@nicira.com> > _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev