android_kernel_motorola_sm6375/tools/testing
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Xiumei Mu 0577db5745 selftests: rtnetlink.sh: remove esp4_offload after test
[ Upstream commit 5b32321fdaf3fd1a92ec726af18765e225b0ee2b ]

The esp4_offload module, loaded during IPsec offload tests, should
be reset to its default settings after testing.
Otherwise, leaving it enabled could unintentionally affect subsequence
test cases by keeping offload active.

Without this fix:
$ lsmod | grep offload; ./rtnetlink.sh -t kci_test_ipsec_offload ; lsmod | grep offload;
PASS: ipsec_offload
esp4_offload           12288  0
esp4                   32768  1 esp4_offload

With this fix:
$ lsmod | grep offload; ./rtnetlink.sh -t kci_test_ipsec_offload ; lsmod | grep offload;
PASS: ipsec_offload

Fixes: 2766a11161 ("selftests: rtnetlink: add ipsec offload API test")
Signed-off-by: Xiumei Mu <[email protected]>
Reviewed-by: Shannon Nelson <[email protected]>
Reviewed-by: Hangbin Liu <[email protected]>
Link: https://patch.msgid.link/6d3a1d777c4de4eb0ca94ced9e77be8d48c5b12f.1753415428.git.xmu@redhat.com
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2025-08-28 16:21:20 +02:00
..
fault-injection
ktest ktest.pl: Check kernelrelease return in get_version 2025-03-13 12:43:01 +01:00
nvdimm
radix-tree radix tree test suite: fix incorrect allocation size for pthreads 2023-08-16 18:19:23 +02:00
scatterlist
selftests selftests: rtnetlink.sh: remove esp4_offload after test 2025-08-28 16:21:20 +02:00
vsock