When a KTEST_EQUAL assertion fails, the test function returns, but this
can cause it to leak locks. Add a variant which causes control flow to
jump to a label in case of failure, and use that to prevent this
problem.
Details
Details
- Reviewers
tuexen nickbanks_netflix.com - Group Reviewers
transport - Commits
- rGf7bf9fd6199c: tests/tcp_hpts_test: Fix resource leaks
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable