[ovs-git] [openvswitch/ovs] d2cb02: ofproto-dpif-upcall: Fix null pointer dereference ...
GitHub
noreply at github.com
Thu Nov 2 18:13:46 UTC 2017
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: d2cb0218d02646f740788e4b01587782fd8ca98f
https://github.com/openvswitch/ovs/commit/d2cb0218d02646f740788e4b01587782fd8ca98f
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