Commit 3b84799e authored by Eyal Birger's avatar Eyal Birger Committed by Greg Kroah-Hartman
Browse files

net: geneve: support IPv4/IPv6 as inner protocol



[ Upstream commit 435fe1c0 ]

This patch adds support for encapsulating IPv4/IPv6 within GENEVE.

In order to use this, a new IFLA_GENEVE_INNER_PROTO_INHERIT flag needs
to be provided at device creation. This property cannot be changed for
the time being.

In case IP traffic is received on a non-tun device the drop count is
increased.

Signed-off-by: default avatarEyal Birger <eyal.birger@gmail.com>
Link: https://lore.kernel.org/r/20220316061557.431872-1-eyal.birger@gmail.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Stable-dep-of: c471236b ("bareudp: Pull inner IP header on xmit.")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 76851c70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment