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:55:35 +0000 (13:55 -0800)
commitd8629119d3517a72dcebcf77e25b09dcd0f3189d
treee2109a0379ac16d15d113a6355f04a212ec8a63e
parent2fe37b93bea9c87be387aeede4f38e7a0b360cf2
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