[ovs-git] Open vSwitch: ofproto-dpif: Discard any flow_miss_batches before destroy a ofproto (branch-2.0)
dev at openvswitch.org
dev at openvswitch.org
Fri Feb 28 21:15:20 UTC 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".
The branch, branch-2.0 has been updated
via e8ac8c3940535fb439eba980afa6c61bdd428003 (commit)
from 6795ba0edd02291c9a93186d8cca6017e63ba95f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e8ac8c3940535fb439eba980afa6c61bdd428003
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=e8ac8c3940535fb439eba980afa6c61bdd428003
Author: Andy Zhou <azhou at nicira.com>
ofproto-dpif: Discard any flow_miss_batches before destroy a ofproto
Commit dd2e44f835fac8 fixed a similar race conditions w.r.t.
removal of 'ofproto', but reintroduced this bug. While 'ofproto'
is being removed, the existing flow_miss_batches may still contain
references to the to be removed 'ofproto', causing access to freed
memory.
Bug #1202234
Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Alex Wang <alexw at nicira.com>
-----------------------------------------------------------------------
Summary of changes:
ofproto/ofproto-dpif-upcall.c | 4 ++--
ofproto/ofproto-dpif.c | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list