[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141121.144710.1431540256452223326.davem@davemloft.net>
Date: Fri, 21 Nov 2014 14:47:10 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: joestringer@...ira.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
pshelar@...ira.com, dev@...nvswitch.org
Subject: Re: [PATCHv3 net] openvswitch: Don't validate IPv6 label masks.
From: Joe Stringer <joestringer@...ira.com>
Date: Wed, 19 Nov 2014 13:54:49 -0800
> When userspace doesn't provide a mask, OVS datapath generates a fully
> unwildcarded mask for the flow by copying the flow and setting all bits
> in all fields. For IPv6 label, this creates a mask that matches on the
> upper 12 bits, causing the following error:
>
> openvswitch: netlink: Invalid IPv6 flow label value (value=ffffffff, max=fffff)
>
> This patch ignores the label validation check for masks, avoiding this
> error.
>
> Signed-off-by: Joe Stringer <joestringer@...ira.com>
> ---
> v3: Alternative approach.
> Was "openvswitch: Fix mask generation for IPv6 labels."
> v2: OR lower 20 bits (upper 12 bits remain from earlier memdup)
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists