diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2024-03-12 13:55:22 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2024-03-18 11:56:11 +0100 |
commit | 773bb766ca4a05bf363203030b72b10088869224 (patch) | |
tree | 5ac14da356f666a2535d17f29b6b5ff4bdb13f71 /drivers/clocksource/timer-stm32.c | |
parent | c3198822c6cb9fb588e446540485669cc81c5d34 (diff) |
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 'drivers/clocksource/timer-stm32.c')
0 files changed, 0 insertions, 0 deletions