ofproto: Wildcard TTL on IP tunnels
authorHaggai Eran <haggaie@mellanox.com>
Thu, 14 Jan 2016 11:29:08 +0000 (13:29 +0200)
committerJesse Gross <jesse@kernel.org>
Tue, 19 Jan 2016 21:14:27 +0000 (13:14 -0800)
commitfba633f13c8351b9c2c4bd0be2e9281fd99a34b9
treec5175a8ba05c71aa4a195de2bb67ff793dc6f4cc
parent00ec40176a86e72e60a55d2972d2eaa374b15650
ofproto: Wildcard TTL on IP tunnels

There is no need to set the mask on the outer header IP TTL [1]. The only requirement
is that the TTL will be non-zero. Clear the mask in tnl_wc_init().

[1] OVS VXLAN decap rule has full match on TTL for the outer headers?
    http://www.spinics.net/lists/netdev/msg351961.html

Cc: Jesse Gross <jesse@kernel.org>
Cc: Joe Stringer <joe@ovn.org>
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Jesse Gross <jesse@kernel.org>
ofproto/tunnel.c
tests/tunnel-push-pop-ipv6.at
tests/tunnel-push-pop.at
tests/tunnel.at