2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 21:24:00 +08:00
linux-next/net/openvswitch
Jiri Benc 7f9562a1f4 ip_tunnels: record IP version in tunnel info
There's currently nothing preventing directing packets with IPv6
encapsulation data to IPv4 tunnels (and vice versa). If this happens,
IPv6 addresses are incorrectly interpreted as IPv4 ones.

Track whether the given ip_tunnel_key contains IPv4 or IPv6 data. Store this
in ip_tunnel_info. Reject packets at appropriate places if they are supposed
to be encapsulated into an incompatible protocol.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-29 13:07:54 -07:00
..
actions.c openvswitch: Include ip6_fib.h. 2015-08-27 16:35:51 -07:00
conntrack.c openvswitch: Fix conntrack compilation without mark. 2015-08-28 22:23:59 -07:00
conntrack.h openvswitch: Allow matching on conntrack label 2015-08-27 11:40:43 -07:00
datapath.c openvswitch: Allow matching on conntrack label 2015-08-27 11:40:43 -07:00
datapath.h openvswitch: Allow matching on conntrack label 2015-08-27 11:40:43 -07:00
dp_notify.c openvswitch: Move dev pointer into vport itself 2015-07-21 10:39:07 -07:00
flow_netlink.c openvswitch: Allow matching on conntrack label 2015-08-27 11:40:43 -07:00
flow_netlink.h openvswitch: Allow matching on conntrack label 2015-08-27 11:40:43 -07:00
flow_table.c ip_tunnels: add IPv6 addresses to ip_tunnel_key 2015-08-20 15:42:36 -07:00
flow_table.h openvswitch: Add support for unique flow IDs. 2015-01-26 15:45:50 -08:00
flow.c ip_tunnels: record IP version in tunnel info 2015-08-29 13:07:54 -07:00
flow.h openvswitch: Allow matching on conntrack label 2015-08-27 11:40:43 -07:00
Kconfig openvswitch: Use Geneve device. 2015-08-27 15:42:47 -07:00
Makefile openvswitch: Add conntrack action 2015-08-27 11:40:43 -07:00
vport-geneve.c openvswitch: Use Geneve device. 2015-08-27 15:42:47 -07:00
vport-gre.c openvswitch: Use regular GRE net_device instead of vport 2015-08-10 14:03:54 -07:00
vport-internal_dev.c net: add netif_is_ovs_master helper with IFF_OPENVSWITCH private flag 2015-08-27 16:28:35 -07:00
vport-internal_dev.h openvswitch: introduce rtnl ops stub 2014-07-01 14:40:17 -07:00
vport-netdev.c route: move lwtunnel state to dst_entry 2015-08-20 15:42:36 -07:00
vport-netdev.h openvswitch: Move tunnel destroy function to oppenvswitch module. 2015-08-10 14:03:54 -07:00
vport-vxlan.c openvswitch: Move tunnel destroy function to oppenvswitch module. 2015-08-10 14:03:54 -07:00
vport.c ip_tunnels: record IP version in tunnel info 2015-08-29 13:07:54 -07:00
vport.h ip_tunnels: use tos and ttl fields also for IPv6 2015-08-20 15:42:36 -07:00