diff options
| author | Jianbo Liu <jianbol@nvidia.com> | 2025-10-29 12:50:25 +0300 |
|---|---|---|
| committer | Steffen Klassert <steffen.klassert@secunet.com> | 2025-10-30 13:52:38 +0300 |
| commit | 59630e2ccd728703cc826e3a3515d70f8c7a766c (patch) | |
| tree | 05baee508fdfdf1df8a4e38b8a2b1a6ed149245d /scripts/patch-kernel | |
| parent | 61fafbee6cfed283c02a320896089f658fa67e56 (diff) | |
| download | linux-59630e2ccd728703cc826e3a3515d70f8c7a766c.tar.xz | |
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
