]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfrm: Allow UDP encapsulation in crypto offload control path
authorMike Yu <yumike@google.com>
Fri, 12 Jul 2024 02:51:23 +0000 (10:51 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 12 Jul 2024 06:43:28 +0000 (08:43 +0200)
commita10fb4a84a693891b2e205684456d0825363fc24
treeb22dacca9af86f83f75572f69d50e527004eb68e
parentf7e8542d71e908706855a9f3e9e7844fea1feea0
xfrm: Allow UDP encapsulation in crypto offload control path

Unblock this limitation so that SAs with encapsulation specified
can be passed to HW drivers. HW drivers can still reject the SA
in their implementation of xdo_dev_state_add if the encapsulation
is not supported.

Test: Verified on Android device
Signed-off-by: Mike Yu <yumike@google.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_device.c