ofproto: Fix wildcard masking with nw_tos.
authorJarno Rajahalme <jrajahalme@nicira.com>
Wed, 9 Apr 2014 18:13:57 +0000 (11:13 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Wed, 9 Apr 2014 18:32:40 +0000 (11:32 -0700)
commit1ac9326da58915bc096eb5cd3d48b472d8b9e0fc
tree4baa7747f0e484339c1e06ed4b6b8948a0ec17f0
parent66ce9f09aa4bc71f60c7e5ff2226cfb4d5e3bf0b
ofproto: Fix wildcard masking with nw_tos.

Later patches rely on the DSCP and ECN masks to be properly set when
the fields are read.  Also, avoid reading nw_tos if tunnel's inner
packet is not IP.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-xlate.c
ofproto/tunnel.c