[ovs-git] Open vSwitch: ofproto-dpif: Treat zero MPLS post-decrement TTL as invalid. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Mar 7 19:11:46 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, master has been updated
       via  be80bc65c1da6225d3de238c041906bb459ee8ea (commit)
      from  4cd9ab26c3a265d168d082b9e50777b9306fe2f8 (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 be80bc65c1da6225d3de238c041906bb459ee8ea
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=be80bc65c1da6225d3de238c041906bb459ee8ea
Author: Ben Pfaff <blp at nicira.com>
		
ofproto-dpif: Treat zero MPLS post-decrement TTL as invalid.
		
RFC 3443 says that an outgoing MPLS TTL of zero is invalid, so we must send
packets that have such a TTL post-decrement to the controller rather than
allowing them to continue through the OpenFlow tables.

Here is the text from RFC 3443 that implies this behavior:

   oTTL: This is the TTL value used as the outgoing TTL value (see
   section 3.5 for exception).  It is always (iTTL - 1) unless otherwise
   stated.

   oTTL Check: Check if oTTL is greater than 0.  If the oTTL Check is
   false, then the packet is not forwarded.  Note that the oTTL check is
   performed only if any outgoing TTL (either IP or MPLS) is set to oTTL
   (see section 3.5 for exception).

That is, the output TTL is one less than the input TTL, and a packet with
an output TTL of 0 must not be forwarded.

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


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

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


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list