tunnel: Only un-wildcard the ECN bits for IP traffic.
authorJustin Pettit <jpettit@nicira.com>
Tue, 25 Jun 2013 23:40:50 +0000 (16:40 -0700)
committerJustin Pettit <jpettit@nicira.com>
Wed, 26 Jun 2013 05:40:05 +0000 (22:40 -0700)
commite01685b84f5771dcc2528dd735c535925ffd9824
tree47c34082b81ec81e5f4513315518d0521dacf7c6
parent3520425d04a436bb63500712759e0194cbc4f722
tunnel: Only un-wildcard the ECN bits for IP traffic.

With tunnels carrying IP packets, ECN bits are always inherited by
the encapsulating tunnel.  However, it doesn't make sense to
unwildcard the inner packet's TOS fields if the packet is not IP.

Found by inspection.

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