[ovs-git] Open vSwitch: dpif-netdev: delete lost packets in dp_execute_cb() (master)

dev at openvswitch.org dev at openvswitch.org
Wed Jun 25 22:04:31 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, master has been updated
       via  26a5075bb6a0c96a94ea5be7672185a2a8f3eedc (commit)
       via  5c75f4beed9b3e540d8be0f31947c7d8e3271703 (commit)
       via  1ffd16af7074915642d3d03e561ea007ffbbc765 (commit)
       via  717c48fe35647ed375b13bdf0e22d84e76fd96d8 (commit)
       via  7bbdd84f5de48dc057d84216de4dc73f959d8c08 (commit)
      from  49ab4a352480af0be1251fe77337f9280c5a1198 (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 26a5075bb6a0c96a94ea5be7672185a2a8f3eedc
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=26a5075bb6a0c96a94ea5be7672185a2a8f3eedc
Author: Daniele Di Proietto <ddiproietto at vmware.com>
		
dpif-netdev: delete lost packets in dp_execute_cb()
		
This commit fixes memory leaks in dp_execute_cb() in two cases:
    - when the output port cannot be found
    - when the recirculation depth is exceeded

Reported-by: Pravin Shelar <pshelar at nicira.com>
Signed-off-by: Daniele Di Proietto <ddiproietto at vmware.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


commit 5c75f4beed9b3e540d8be0f31947c7d8e3271703
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5c75f4beed9b3e540d8be0f31947c7d8e3271703
Author: Andy Zhou <azhou at nicira.com>
		
datapath: fix sparse warning in function tbl_mask_array_delete_mask()
		
Sparse gives "incompatible types in comparison expression (different
address spaces)" warning messages. Fix this by add rcu_dereference()
wrappers.

Reported-by: Ben Pfaff <blp at nicira.com>
Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


commit 1ffd16af7074915642d3d03e561ea007ffbbc765
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1ffd16af7074915642d3d03e561ea007ffbbc765
Author: Simon Horman <horms at verge.net.au>
		
ofproto-dpif: Add MPLS tests
		
Co-authored-by: Joe Stringer <joe at wand.net.nz>
Signed-off-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 717c48fe35647ed375b13bdf0e22d84e76fd96d8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=717c48fe35647ed375b13bdf0e22d84e76fd96d8
Author: Simon Horman <horms at verge.net.au>
		
ofp-actions: Allow pop_mpls on MPLS packets
		
With recirculation in place this should be safe.

Signed-off-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 7bbdd84f5de48dc057d84216de4dc73f959d8c08
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7bbdd84f5de48dc057d84216de4dc73f959d8c08
Author: Simon Horman <horms at verge.net.au>
		
ofproto-dpif: MPLS recirculation
		
In some cases an pop MPLS action changes a packet to be a non-mpls packet.
In this case subsequent any L3+ actions require access to portions
of the packet which were not decoded as they were opaque when the
packet was MPLS. Allow such actions to be translated by
first recirculating the packet.

Co-authored-by: Ben Pfaff <blp at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Signed-off-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 datapath/flow_table.c        |    6 +-
 lib/dpif-netdev.c            |   11 +-
 lib/ofp-actions.c            |    6 -
 ofproto/ofproto-dpif-xlate.c |  166 +++++++-
 tests/dpif-netdev.at         |    1 +
 tests/ofproto-dpif.at        |  871 ++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 1049 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list