WSL2-Linux-Kernel/net/openvswitch
Joe Stringer d3052bb5d3 openvswitch: Don't validate IPv6 label masks.
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@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-11-20 22:56:13 -05:00
..
Kconfig openvswitch: Add support for Geneve tunneling. 2014-10-06 00:32:21 -04:00
Makefile openvswitch: Add support for Geneve tunneling. 2014-10-06 00:32:21 -04:00
actions.c openvswitch: Fix checksum calculation when modifying ICMPv6 packets. 2014-11-14 15:13:26 -08:00
datapath.c openvswitch: Convert dp rcu read operation to locked operations 2014-11-14 15:13:26 -08:00
datapath.h openvswitch: Wrap struct ovs_key_ipv4_tunnel in a new structure. 2014-10-06 00:32:20 -04:00
dp_notify.c genetlink: make multicast groups const, prevent abuse 2013-11-19 16:39:06 -05:00
flow.c openvswitch: Set flow-key members. 2014-10-17 23:54:02 -04:00
flow.h openvswitch: Add support for Geneve tunneling. 2014-10-06 00:32:21 -04:00
flow_netlink.c openvswitch: Don't validate IPv6 label masks. 2014-11-20 22:56:13 -05:00
flow_netlink.h openvswitch: refactor ovs flow extract API. 2014-09-15 23:28:13 -07:00
flow_table.c openvswitch: Use exact lookup for flow_get and flow_del. 2014-06-30 20:47:15 -07:00
flow_table.h openvswitch: Use exact lookup for flow_get and flow_del. 2014-06-30 20:47:15 -07:00
vport-geneve.c openvswitch: kerneldoc warning fix 2014-10-15 23:25:33 -04:00
vport-gre.c openvswitch: Add support for Geneve tunneling. 2014-10-06 00:32:21 -04:00
vport-internal_dev.c openvswitch: Enable tunnel GSO for OVS bridge. 2014-07-24 01:15:04 -07:00
vport-internal_dev.h openvswitch: introduce rtnl ops stub 2014-07-01 14:40:17 -07:00
vport-netdev.c openvswitch: fix vport-netdev unregister 2013-10-16 14:50:22 -07:00
vport-netdev.h openvswitch: fix vport-netdev unregister 2013-10-16 14:50:22 -07:00
vport-vxlan.c openvswitch: Add support for Geneve tunneling. 2014-10-06 00:32:21 -04:00
vport.c openvswitch: use vport instead of p 2014-10-15 23:25:33 -04:00
vport.h openvswitch: Add support for Geneve tunneling. 2014-10-06 00:32:21 -04:00