ofproto-dpif: Ignore ECN bits in OFPAT_SET_NW_TOS actions.
authorBen Pfaff <blp@nicira.com>
Mon, 18 Jul 2011 22:17:57 +0000 (15:17 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 28 Jul 2011 18:22:00 +0000 (11:22 -0700)
commit4927c517cc2373b4957e75328d6d347ba844d23d
tree06ac4d1bafdf2268b316bbd53d74783e57871bcd
parent6cd1fd9128bb9719fad0a0f210308069f71fafd6
ofproto-dpif: Ignore ECN bits in OFPAT_SET_NW_TOS actions.

OpenFlow 1.0 doesn't say that the ECN bits in OFPAT_SET_NW_TOS actions must
be zero, but Open vSwitch ODP implementations do require that, so mask off
those bits before storing the nw_tos into the flow.
ofproto/ofproto.c