[ovs-git] Open vSwitch: ofproto-dpif-xlate: Fix mac learning deadlock. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Sep 4 00:54:42 UTC 2013


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, master has been updated
       via  d6d5bbc9e43f5b6ce28d1d8c0df06b7cc3cb6db9 (commit)
      from  7395c05254df87ce52b37b04478e802befd799d9 (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 d6d5bbc9e43f5b6ce28d1d8c0df06b7cc3cb6db9
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d6d5bbc9e43f5b6ce28d1d8c0df06b7cc3cb6db9
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif-xlate: Fix mac learning deadlock.
		
xlate_normal() held the mac_learning lock while calling
output_normal().  When running with patch ports, this could cause
xlate_actions() to be called again, possibly attempting to take a
write lock on the same learning table causing a deadlock.  This patch
solves the problem by holding the lock for a very brief period of
time.

Bug #19423.
Signed-off-by: Ethan Jackson <ethan at nicira.com>
Acked-by: Justin Pettit <jpettit at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 ofproto/ofproto-dpif-xlate.c |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list