[ovs-git] [openvswitch/ovs] 9e08db: ofproto-dpif-upcall: Fix null pointer dereference ...
GitHub
noreply at github.com
Thu Nov 2 18:14:27 UTC 2017
Branch: refs/heads/branch-2.8
Home: https://github.com/openvswitch/ovs
Commit: 9e08db9f5a09dbde3ff068530fe42d1fae1a01a8
https://github.com/openvswitch/ovs/commit/9e08db9f5a09dbde3ff068530fe42d1fae1a01a8
Author: Ben Pfaff <blp at ovn.org>
Date: 2017-11-02 (Thu, 02 Nov 2017)
Changed paths:
M ofproto/ofproto-dpif-upcall.c
Log Message:
-----------
ofproto-dpif-upcall: Fix null pointer dereference on exit.
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>
Tested-by: Jakub Sitnicki <jkbs at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list