This problem could cause userspace to automatically evict IPv6
flows from the datapath which had TOS bits set.
Bug #8323.
flow->ipv6_dst = nh->ip6_dst;
tc_flow = get_unaligned_be32(&nh->ip6_flow);
flow->ipv6_dst = nh->ip6_dst;
tc_flow = get_unaligned_be32(&nh->ip6_flow);
- flow->nw_tos = (ntohl(tc_flow) >> 4) & IP_DSCP_MASK;
+ flow->nw_tos = (ntohl(tc_flow) >> 20) & IP_DSCP_MASK;
flow->nw_proto = IPPROTO_NONE;
while (1) {
flow->nw_proto = IPPROTO_NONE;
while (1) {