aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/(public-mirror)
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2024-04-27 00:55:24 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2024-04-27 00:55:24 +0000
commit4ba444de708bada46a88ecac17b2f6c1dc912234 (patch)
treee420d387341ae672169614b4d34dc018fc8cf671 /cddl/contrib/(public-mirror)
parent8ceac8e13dccbe4e177c8f2f443b87b7d2e3edb3 (diff)
downloadsrc-main.tar.gz
src-main.zip
krpc: Ref cnt the client structures for TLS upcallsHEADmain
A crash occurred during testing, where the client structures had already been free'd when the upcall thread tried to lock them. This patch acquires a reference count on both of the structures and these are released when the upcall is done, so that the structures cannot be free'd prematurely. This happened because the testing is done over a very slow vpn. Found during a IETF bakeathon testing event this week. MFC after: 5 days
Diffstat (limited to 'cddl/contrib/(public-mirror)')
0 files changed, 0 insertions, 0 deletions