aboutsummaryrefslogtreecommitdiff
path: root/libexec/bootpd/tools/bootpef/(developers-only)
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-04-27 01:17:36 +0000
committerMark Johnston <markj@FreeBSD.org>2026-04-27 01:17:36 +0000
commitf7bf9fd6199c99284dbc899928d8ad62861da414 (patch)
tree2e08b01d628150214046a4bd1002f616bf69520c /libexec/bootpd/tools/bootpef/(developers-only)
parent92e5f6e1995acb10628ab210cc9f19dbf74f2948 (diff)
tests/tcp_hpts_test: Fix resource leaksHEADmain
When a KTEST_EQUAL assertion fails, the test function returns, but this can cause it to leak locks, which can trigger a panic under witness. Add a variant which causes control flow to jump to a label in case of failure, and use that to prevent this problem. Reviewed by: Nick Banks <nickbanks@netflix.com>, tuexen MFC after: 1 weeks Differential Revision: https://reviews.freebsd.org/D56647
Diffstat (limited to 'libexec/bootpd/tools/bootpef/(developers-only)')
0 files changed, 0 insertions, 0 deletions