Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovs-ofctl: Encode cookies in OXM-compliant manner.
NXM/OXM are only supposed to put 1-bits in a value if the corresponding bit in the mask is a 1-bit, but in the case of cookie matching, e.g. ovs-ofctl del-flows br0 cookie=0x3/0x1 ovs-ofctl would encode a bad OXM. This fixes the problem. (The test "ofproto - del flows based on cookie mask" in the OVS testsuite tickles this bug.) Signed-off-by: Ben Pfaff <[email protected]> Acked-by: YAMAMOTO Takashi <[email protected]>
- Loading branch information