[ovs-git] Open vSwitch: datapath: Fix kernel panic on ovs_flow_free (branch-2.1)

dev at openvswitch.org dev at openvswitch.org
Fri Jan 17 19:07:25 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.1 has been updated
       via  3d020f4134abfe9837898ed7b98981239e9b3ab0 (commit)
      from  a4d3e338904f7276230bfcdebf11bfe7e7ff8a7e (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 3d020f4134abfe9837898ed7b98981239e9b3ab0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3d020f4134abfe9837898ed7b98981239e9b3ab0
Author: Andy Zhou <azhou at nicira.com>
		
datapath: Fix kernel panic on ovs_flow_free
		
Both mega flow mask's reference counter and per flow table mask list
should only be accessed when holding ovs_mutex() lock. However
this is not true with ovs_flow_table_flush(). The patch fixes this bug.

Reported-by: Joe Stringer <joestringer at nicira.com>
Signed-off-by: Andy Zhou <azhou at nicira.com>


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

Summary of changes:
 datapath/datapath.c   |   11 ++++---
 datapath/flow_table.c |   84 +++++++++++++++++++++++--------------------------
 datapath/flow_table.h |    2 +-
 3 files changed, 48 insertions(+), 49 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list