android_kernel_samsung_sm8650/drivers/net/vxlan
Jiri Benc 69534f5ab7 vxlan: fix GRO with VXLAN-GPE
[ Upstream commit b0b672c4d0957e5897685667fc848132b8bd2d71 ]

In VXLAN-GPE, there may not be an Ethernet header following the VXLAN
header. But in GRO, the vxlan driver calls eth_gro_receive
unconditionally, which means the following header is incorrectly parsed
as Ethernet.

Introduce GPE specific GRO handling.

For better performance, do not check for GPE during GRO but rather
install a different set of functions at setup time.

Fixes: e1e5314de0 ("vxlan: implement GPE")
Reported-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-03 10:23:59 +02:00
..
Makefile vxlan: vni filtering support on collect metadata device 2022-03-01 08:38:02 +00:00
vxlan_core.c vxlan: fix GRO with VXLAN-GPE 2023-08-03 10:23:59 +02:00
vxlan_multicast.c vxlan: vni filtering support on collect metadata device 2022-03-01 08:38:02 +00:00
vxlan_private.h drivers: vxlan: vnifilter: per vni stats 2022-03-01 08:38:02 +00:00
vxlan_vnifilter.c vxlan: do not feed vxlan_vnifilter_dump_dev with non vxlan devices 2022-03-31 08:53:01 -07:00