summaryrefslogtreecommitdiff
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2024-03-12 13:55:22 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2024-03-18 11:56:11 +0100
commit773bb766ca4a05bf363203030b72b10088869224 (patch)
tree5ac14da356f666a2535d17f29b6b5ff4bdb13f71 /include/linux/skbuff.h
parentc3198822c6cb9fb588e446540485669cc81c5d34 (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 'include/linux/skbuff.h')
0 files changed, 0 insertions, 0 deletions