summaryrefslogtreecommitdiffstats
path: root/net/atm
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2023-07-21 16:30:47 +0200
committerDavid S. Miller <davem@davemloft.net>2023-07-24 11:47:09 +0200
commitb0b672c4d0957e5897685667fc848132b8bd2d71 (patch)
tree7a6541addbf655b1720eb32a63d0f556cdaefa17 /net/atm
parentvxlan: generalize vxlan_parse_gpe_hdr and remove unused args (diff)
downloadlinux-b0b672c4d0957e5897685667fc848132b8bd2d71.tar.xz
linux-b0b672c4d0957e5897685667fc848132b8bd2d71.zip
vxlan: fix GRO with VXLAN-GPE
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: e1e5314de08ba ("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>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions