[ovs-git] Open vSwitch: ofp-print: Fix handling of zero-length actions. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Dec 2 23:00:10 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, master has been updated
       via  1d87ef5cb22d4d1709af6b4d0460b0c3e2af9a22 (commit)
       via  a2cb9dfdaf6d397005d992aa45b54d348ef7589e (commit)
       via  952d37436a18737fc942f42c5e81f67f427769e1 (commit)
       via  0b61210ecb328274be67c23127e15af0809b00da (commit)
       via  d12513f7075373d07565f66ab4c781b73b00867d (commit)
       via  33af7dcad396cb9bfc7d09622d47be853bf662dd (commit)
       via  3df3373283d794c03e1cd18585089d9f658ebd8c (commit)
       via  0df0e81da2351902c93e8a1ae1933523a91a8262 (commit)
      from  73ffb8e8c0c8dd5a07195827ca97f641faccc49f (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 1d87ef5cb22d4d1709af6b4d0460b0c3e2af9a22
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1d87ef5cb22d4d1709af6b4d0460b0c3e2af9a22
Author: Ben Pfaff <blp at nicira.com>
		
ofp-print: Fix handling of zero-length actions.
		
Without this change, zero-length ofp_actions cause an infinite loop.


commit a2cb9dfdaf6d397005d992aa45b54d348ef7589e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a2cb9dfdaf6d397005d992aa45b54d348ef7589e
Author: Ben Pfaff <blp at nicira.com>
		
tests: Add tests for ofproto code.
		
This first set of tests is pretty basic and uninteresting, but the
infrastructure is now in place for adding more.


commit 952d37436a18737fc942f42c5e81f67f427769e1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=952d37436a18737fc942f42c5e81f67f427769e1
Author: Ben Pfaff <blp at nicira.com>
		
openflow: Remove vestigial support for including from kernel.
		
This header hasn't been included into the kernel code in ages.


commit 0b61210ecb328274be67c23127e15af0809b00da
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0b61210ecb328274be67c23127e15af0809b00da
Author: Ben Pfaff <blp at nicira.com>
		
openflow: Change ofp_phy_port's 'name' member from uint8_t[] to char[].
		
The uint8_t type here has bothered me from the very beginning.


commit d12513f7075373d07565f66ab4c781b73b00867d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d12513f7075373d07565f66ab4c781b73b00867d
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ofctl: Check that commands actually succeed.
		
Until now, when it sends commands to switches that ordinarily have no
reply, ovs-ofctl has not waited around to see whether the command succeeds
or fails.  This commit fixes the problem: errors will now be reported.


commit 33af7dcad396cb9bfc7d09622d47be853bf662dd
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=33af7dcad396cb9bfc7d09622d47be853bf662dd
Author: Ben Pfaff <blp at nicira.com>
		
vconn: New function vconn_transact_noreply().
		


commit 3df3373283d794c03e1cd18585089d9f658ebd8c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3df3373283d794c03e1cd18585089d9f658ebd8c
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ofctl: Remove now-useless "tun-cookie" command.
		
This command is no longer useful, because the setting that it modifies is
now a per-connection setting, not a global switch setting.

This command was never documented or included in --help output (probably
as an oversight).


commit 0df0e81da2351902c93e8a1ae1933523a91a8262
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0df0e81da2351902c93e8a1ae1933523a91a8262
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ofctl: Factor out common code in str_to_port_no(), do_mod_port().
		


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

Summary of changes:
 include/openflow/openflow.h |    6 +--
 lib/learning-switch.c       |    2 +-
 lib/ofp-print.c             |    7 ++-
 lib/vconn.c                 |   77 ++++++++++++++++++++
 lib/vconn.h                 |    1 +
 ofproto/ofproto.c           |   10 ++--
 tests/automake.mk           |    1 +
 tests/ofproto.at            |   57 +++++++++++++++
 tests/testsuite.at          |    1 +
 utilities/ovs-ofctl.c       |  161 +++++++++++++++++++------------------------
 10 files changed, 222 insertions(+), 101 deletions(-)
 create mode 100644 tests/ofproto.at


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list