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>
Wed, 20 Jul 2011 16:47:36 +0000 (09:47 -0700)
commit1fa96cf431bc0bdfd81aeab50e1344355f2fb73e
treea486680cd60e501279333f6322c5a16d95d1e661
parentdaff3353a0dcb6db7c1468e442f95ae22d335e88
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-dpif.c