tunnel: Mark ECN status on decapsulated tunnel packets.
authorJustin Pettit <jpettit@nicira.com>
Wed, 13 Feb 2013 22:50:24 +0000 (14:50 -0800)
committerJustin Pettit <jpettit@nicira.com>
Wed, 6 Mar 2013 21:45:56 +0000 (13:45 -0800)
commit29a5df0ae41eb7cf6393a0f23cc51c2d3fbe69f1
tree714db20ed5659cde2cb09f32a0eb7c9a90f15bda
parent4863c249769ac74d3e873b898114fde71145e720
tunnel: Mark ECN status on decapsulated tunnel packets.

In the kernel tunnel implementation, if a packet was marked as ECN CE on
the outer packet then we would carry this over to the inner packet on
decapsulation.  With the switch to flow based tunneling, this stopped
happening.  This commit reintroduces that behavior by using the set IP
header action.

Bug #15072

Signed-off-by: Justin Pettit <jpettit@nicira.com>
ofproto/ofproto-dpif.c
ofproto/tunnel.c
tests/tunnel.at