Branch: refs/heads/stable1-proposed
Home: https://github.com/kronosnet/kronosnet
Commit: 3ea4ef00d92a65f29403fbb03dd86ec898efc12e
https://github.com/kronosnet/kronosnet/commit/3ea4ef00d92a65f29403fbb03dd86…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2026-06-09 (Tue, 09 Jun 2026)
Changed paths:
M libknet/transport_sctp.c
Log Message:
-----------
libknet: fix SCTP reconnect thread race condition accessing reconnect_int
Coverity detected a MISSING_LOCK issue in the SCTP connect thread where
knet_h->reconnect_int was accessed without holding global_rwlock after
releasing it.
Fix by reading reconnect_int into a local variable while still holding
the lock, then using that local copy for the usleep() call after
releasing the lock.
Signed-off-by: Fabio M. Di Nitto <fabbione(a)kronosnet.org>
Co-Authored-By: Claude Sonnet 4.5 <noreply(a)anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/kronosnet/kronosnet/settings/notifications