summaryrefslogtreecommitdiff
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorJianbo Liu <jianbol@nvidia.com>2025-10-29 11:50:25 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2025-10-30 11:52:38 +0100
commit59630e2ccd728703cc826e3a3515d70f8c7a766c (patch)
tree05baee508fdfdf1df8a4e38b8a2b1a6ed149245d /net/sysctl_net.c
parent61fafbee6cfed283c02a320896089f658fa67e56 (diff)
xfrm: Prevent locally generated packets from direct output in tunnel mode
Add a check to ensure locally generated packets (skb->sk != NULL) do not use direct output in tunnel mode, as these packets require proper L2 header setup that is handled by the normal XFRM processing path. Fixes: 5eddd76ec2fd ("xfrm: fix tunnel mode TX datapath in packet offload mode") Signed-off-by: Jianbo Liu <jianbol@nvidia.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions