]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/ipv6/esp6_offload.c
xfrm: Separate ESP handling from segmentation for GRO packets.
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 20 Dec 2017 09:41:31 +0000 (10:41 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 20 Dec 2017 09:41:31 +0000 (10:41 +0100)
commit3dca3f38cfb8efb8571040568cac7d0025fa5bb1
treee1227751f873bae8a696222da5d9d3d1a1e070b9
parentf39a5c01c3d24f2f61ec9d8c7d7e81f9aca506ce
xfrm: Separate ESP handling from segmentation for GRO packets.

We change the ESP GSO handlers to only segment the packets.
The ESP handling and encryption is defered to validate_xmit_xfrm()
where this is done for non GRO packets too. This makes the code
more robust and prepares for asynchronous crypto handling.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/core/dev.c
net/ipv4/esp4_offload.c
net/ipv4/xfrm4_mode_tunnel.c
net/ipv6/esp6_offload.c
net/ipv6/xfrm6_mode_tunnel.c
net/xfrm/xfrm_device.c