[ovs-git] Open vSwitch: ofp-actions: Prefer OFPAT11_DEC_TTL to NXAST_DEC_TTL for OpenFlow 1.1+. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Oct 18 18:42:40 UTC 2012


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  9908606290852fc4d29132c843d9f17938cce7d8 (commit)
       via  68194f84b13011742cca3dc1b55d86c1c60a9555 (commit)
      from  a478fee3aa9c19b3428d3ac7018bb20d257639b3 (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 9908606290852fc4d29132c843d9f17938cce7d8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9908606290852fc4d29132c843d9f17938cce7d8
Author: Ben Pfaff <blp at nicira.com>
		
ofp-actions: Prefer OFPAT11_DEC_TTL to NXAST_DEC_TTL for OpenFlow 1.1+.
		
When "dec_ttl" is specified as the name of an action, in OpenFlow 1.1 and
later we should prefer to use the standardized action, rather than the
Nicira extension.

Reported-by: Isaku Yamahata <yamahata at valinux.co.jp>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Reviewed-by: Isaku Yamahata <yamahata at valinux.co.jp>


commit 68194f84b13011742cca3dc1b55d86c1c60a9555
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=68194f84b13011742cca3dc1b55d86c1c60a9555
Author: Ben Pfaff <blp at nicira.com>
		
ofp-parse: Remove unreachable code.
		
OFPUTIL_OFPAT11_DEC_NW_TTL does not have a name in the table of actions'
names, so this code in parse_named_action() can never be reached.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Reviewed-by: Isaku Yamahata <yamahata at valinux.co.jp>


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

Summary of changes:
 lib/ofp-actions.c |   19 ++++++++++++++-----
 lib/ofp-parse.c   |   12 +++++-------
 2 files changed, 19 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list