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 04:29:16 +0000 (21:29 -0700)
commitabcd4402fec44a473a19cc790a9a3f00444a123f
tree194726af94fb7e4a21ec201e93ff94bcc84cd0e6
parentbe3f512a79ab7afb02a3b2cfbd51e10e0f5a5c55
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