[ovs-dev] [PATCH] ofproto-dpif-upcall: Fix null pointer dereference on exit.

Jakub Sitnicki jkbs at redhat.com
Thu Nov 2 17:58:39 UTC 2017


On Thu, 2 Nov 2017 18:53:02 +0100
Jakub Sitnicki <jkbs at redhat.com> wrote:

> On Fri, 27 Oct 2017 08:40:23 -0700
> Ben Pfaff <blp at ovn.org> wrote:
> 
> > When revalidation occurs at the same time that a bridge is being removed
> > or ovs-vswitchd is exiting, xlate_lookup_ofproto() races with deletion of
> > the ofproto.  This caused a null pointer dereference if revalidation lost
> > the race.  This commit fixes the problem.
> > 
> > Reported-by: Jakub Sitnicki <jkbs at redhat.com>
> > Signed-off-by: Ben Pfaff <blp at ovn.org>
> > ---
> 
> Tested-by: Jakub Sitnicki <jkbs at redhat.com>
> 
> Thank you for the patch. I'm seeing less than before tests
> failing or hanging with it applied of on top of master.

Forgot to ask - any chance it could be also applied back to branch-2.7?

Thanks,
Jakub


More information about the dev mailing list