[ovs-git] Open vSwitch: ofproto-dpif: Fix rule delete deadlock. (branch-2.0)
dev at openvswitch.org
dev at openvswitch.org
Tue Jan 28 23:22:57 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 a5262aad9e203c05eebca9b1ff1331e888a2040b (commit)
from 738a2445c0c124f53df6abcffc6379746e99dee8 (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 a5262aad9e203c05eebca9b1ff1331e888a2040b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a5262aad9e203c05eebca9b1ff1331e888a2040b
Author: Ethan Jackson <ethan at nicira.com>
ofproto-dpif: Fix rule delete deadlock.
When doing rule expiration, ofproto_rule_delete__() take the
ofproto_mutex and calls rule_get_stats(). rule_get_stats() can do an
xlate_actions() which may take the ofproto_mutex, causing a deadlock.
Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>
-----------------------------------------------------------------------
Summary of changes:
ofproto/ofproto-dpif.c | 18 ++++++++++++------
ofproto/ofproto-provider.h | 5 +++--
ofproto/ofproto.c | 10 +++++-----
3 files changed, 20 insertions(+), 13 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list