[ovs-git] Open vSwitch: wdp-xflow: Copy client_data from old rule to new rule when displacing a rule. (wdp)

dev at openvswitch.org dev at openvswitch.org
Fri May 14 22:01:14 UTC 2010


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, wdp has been updated
       via  2eeb6e08decb2dd3e793647a38596950278a1610 (commit)
      from  99f4a6f223e937cad4e66c12d8355e5e10da1ca3 (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 2eeb6e08decb2dd3e793647a38596950278a1610
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2eeb6e08decb2dd3e793647a38596950278a1610
Author: Ben Pfaff <blp at nicira.com>
		
wdp-xflow: Copy client_data from old rule to new rule when displacing a rule.
		
If client_data is not copied when a new rule displaces an old one, then
the old rule's client data will be leaked and the new rule will have a null
pointer.  This causes a segfault with, e.g.:

    ovs-ofctl add-flow br0 "dl_type=0x800,nw_dst=10.245.7.0/16,actions=output:148"
    ovs-ofctl mod-flows --strict br0 "dl_type=0x800,nw_dst=10.245.7.0/16,actions=output:149"
    ovs-ofctl del-flows --strict br0 "dl_type=0x800,nw_dst=10.245.7.0/16"

Reported by partner.


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

Summary of changes:
 ofproto/wdp-xflow.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list