diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2024-03-12 14:55:22 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2024-03-18 13:56:11 +0300 |
commit | 773bb766ca4a05bf363203030b72b10088869224 (patch) | |
tree | 5ac14da356f666a2535d17f29b6b5ff4bdb13f71 /tools/perf/scripts/python | |
parent | c3198822c6cb9fb588e446540485669cc81c5d34 (diff) | |
download | linux-773bb766ca4a05bf363203030b72b10088869224.tar.xz |
xfrm: Allow UDP encapsulation only in offload modes
The missing check of x->encap caused to the situation where GSO packets
were created with UDP encapsulation.
As a solution return the encap check for non-offloaded SA.
Fixes: 983a73da1f99 ("xfrm: Pass UDP encapsulation in TX packet offload")
Closes: https://lore.kernel.org/all/a650221ae500f0c7cf496c61c96c1b103dcb6f67.camel@redhat.com
Reported-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions