xfrm: check for PMTU in tunnel mode for packet offload
authorLeon Romanovsky <leonro@nvidia.com>
Wed, 19 Feb 2025 13:51:01 +0000 (15:51 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 21 Feb 2025 07:08:15 +0000 (08:08 +0100)
commitca70c104e1511c8de734ab8863a40f7c8e21a948
tree4de3fc131e554e02bd7f0cb97e039910cafff991
parentcc18f482e8b60a2bcf2d7d57b48740bd0837fc04
xfrm: check for PMTU in tunnel mode for packet offload

In tunnel mode, for the packet offload, there were no PMTU signaling
to the upper level about need to fragment the packet. As a solution,
call to already existing xfrm[4|6]_tunnel_check_size() to perform that.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/xfrm/xfrm_device.c
net/xfrm/xfrm_output.c