[ovs-git] Open vSwitch: ofproto-dpif: Disable miss handling in rule_get_stats(). (branch-1.10)

dev at openvswitch.org dev at openvswitch.org
Sun Apr 7 01:27:17 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, branch-1.10 has been updated
       via  8fb7eddbcd1a487a883d6c3d96525a944b5a43f0 (commit)
      from  e7169719c9a6923654e098f72510fd54d249dcf2 (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 8fb7eddbcd1a487a883d6c3d96525a944b5a43f0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8fb7eddbcd1a487a883d6c3d96525a944b5a43f0
Author: Ethan Jackson <ethan at nicira.com>
		
ofproto-dpif: Disable miss handling in rule_get_stats().
		
rule_get_stats() is often called when iterating over every rule in
the flow table.  To ensure up-to-date statistics, rule_get_stats()
calls push_all_stats() which can cause flow misses to be handled.
When using the learn action, this can cause rules to be added (and
potentially removed) from the OpenFlow table.  This could corrupt
the caller's data structures, leading to a segmentation fault.
This patch fixes the issue by disabling flow miss handling from
within rule_get_stats().

Bug #15999.
Signed-off-by: Ethan Jackson <ethan at nicira.com>


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

Summary of changes:
 ofproto/ofproto-dpif.c |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list