mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ipv6: Add support for setting ipv6 flow label.
IPv6 Flow Label is currently read only. This patch adds support to allow actions like actions=set_field:0x12345->ipv6_label. The change to mf_set_flow_value() is a bug fix, but the bug was not visible before the flow label was modifiable. Signed-off-by: Pritesh Kothari <pritesh.kothari@cisco.com> [blp@nicira.com added an item to NEWS] Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
committed by
Ben Pfaff
parent
b13bfc3c11
commit
88cc95c1c6
@@ -1017,7 +1017,7 @@ mf_set_flow_value(const struct mf_field *mf,
|
||||
break;
|
||||
|
||||
case MFF_IPV6_LABEL:
|
||||
flow->ipv6_label = value->be32 & ~htonl(IPV6_LABEL_MASK);
|
||||
flow->ipv6_label = value->be32 & htonl(IPV6_LABEL_MASK);
|
||||
break;
|
||||
|
||||
case MFF_IP_PROTO:
|
||||
|
Reference in New Issue
Block a user