diff options
Diffstat (limited to 'net/openvswitch/flow_netlink.c')
-rw-r--r-- | net/openvswitch/flow_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/flow_netlink.c b/net/openvswitch/flow_netlink.c index fa4ec2e4a78b..089b195c064a 100644 --- a/net/openvswitch/flow_netlink.c +++ b/net/openvswitch/flow_netlink.c | |||
@@ -690,7 +690,7 @@ static int ovs_key_from_nlattrs(struct sw_flow_match *match, u64 attrs, | |||
690 | return -EINVAL; | 690 | return -EINVAL; |
691 | } | 691 | } |
692 | 692 | ||
693 | if (ipv6_key->ipv6_label & htonl(0xFFF00000)) { | 693 | if (!is_mask && ipv6_key->ipv6_label & htonl(0xFFF00000)) { |
694 | OVS_NLERR("IPv6 flow label %x is out of range (max=%x).\n", | 694 | OVS_NLERR("IPv6 flow label %x is out of range (max=%x).\n", |
695 | ntohl(ipv6_key->ipv6_label), (1 << 20) - 1); | 695 | ntohl(ipv6_key->ipv6_label), (1 << 20) - 1); |
696 | return -EINVAL; | 696 | return -EINVAL; |