Re: [PATCH net] openvswitch: Fix mask generation for IPv6 labels.

From: David Miller
Date: Wed Nov 19 2014 - 15:19:55 EST

From: Joe Stringer <joestringer@xxxxxxxxxx>
Date: Tue, 18 Nov 2014 10:54:17 -0800

> When userspace doesn't provide a mask, OVS datapath generates a fully
> unwildcarded mask for the flow. This is done by taking a copy of the
> flow key, then iterating across its attributes, setting all values to
> 0xff. This works for most attributes, as the length of the netlink
> attribute typically matches the length of the value. However, IPv6
> labels only use the lower 20 bits of the field. This patch makes a
> special case to handle this.
> This fixes the following error seen when installing IPv6 flows without a mask:
> openvswitch: netlink: Invalid IPv6 flow label value (value=ffffffff, max=fffff)
> Signed-off-by: Joe Stringer <joestringer@xxxxxxxxxx>

Judging by the discussion ongoing about this patch, I am assuming there
will be a new version of this change forthcoming.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at