summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorAllison Henderson <achender@kernel.org>2026-05-07 16:32:13 -0700
committerJakub Kicinski <kuba@kernel.org>2026-05-10 10:20:19 -0700
commit08724ab1dc175f49d4350b93226e580c184152e0 (patch)
treeeecb11c6997e235451867b5a24e2671d6b453ade /rust/kernel/alloc/kvec/errors.rs
parent490778834a42f18b7d59fa5a7231e417ccbd5bf7 (diff)
selftests: rds: Disarm signal alarm on test completion
A race in stop_pcaps is possible if the test completes and then times out while waiting for the tcpdump process to exit. The signal handler may fire again and needlessly call stop_pcap a second time. Fix this by disabling the alarm after normal test completion. Also if there are no tcpdump processes to wait on, stop_pcaps can just exit. This avoids misleading prints when there are no procs to collect dumps from. Signed-off-by: Allison Henderson <achender@kernel.org> Link: https://patch.msgid.link/20260507233213.556182-4-achender@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions