diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-04-27 01:17:36 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-04-27 01:17:36 +0000 |
| commit | f7bf9fd6199c99284dbc899928d8ad62861da414 (patch) | |
| tree | 2e08b01d628150214046a4bd1002f616bf69520c /lib/libftp/ssh:/anongit@git.FreeBSD.org/src.git | |
| parent | 92e5f6e1995acb10628ab210cc9f19dbf74f2948 (diff) | |
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 'lib/libftp/ssh:/anongit@git.FreeBSD.org/src.git')
0 files changed, 0 insertions, 0 deletions
