summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2026-01-27 14:49:23 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2026-02-02 08:15:38 +0100
commit0a4524bc69882a4ddb235bb6b279597721bda197 (patch)
tree781b258e2daf32281f72650b2b1b6b3192cce9cb /include/linux/i2c/git@git.tavy.me:linux.git
parent1799d8abeabc68ec05679292aaf6cba93b343c05 (diff)
xfrm: skip templates check for packet offload tunnel mode
In packet offload, hardware is responsible to check templates. The result of its operation is forwarded through secpath by relevant drivers. That secpath is actually removed in __xfrm_policy_check2(). In case packet is forwarded, this secpath is reset in RX, but pushed again to TX where policy is rechecked again against dummy secpath in xfrm_policy_ok(). Such situation causes to unexpected XfrmInTmplMismatch increase. As a solution, simply skip template mismatch check. Fixes: 600258d555f0 ("xfrm: delete intermediate secpath entry in packet offload mode") Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Reviewed-by: Jianbo Liu <jianbol@nvidia.com> Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions