On Mon, Mar 2, 2026 at 7:22 AM Eelco Chaudron <[email protected]> wrote:

> Coverity reports a data race where rconn_get_max_backoff() accesses
> max_backoff without holding rc->mutex, while rconn_set_max_backoff()
> writes to max_backoff with the mutex held (as is done 1 out of 1 times
> when writing).
>
> The race occurs when the getter reads max_backoff without synchronization.
> If another thread concurrently modifies max_backoff through
> rconn_set_max_backoff(), the getter could read a torn or stale value.
>
> Fixes: d8c0e581f94f ("rconn: Make thread-safe.")
> Signed-off-by: Eelco Chaudron <[email protected]>
> ---


Acked-by: Mike Pattrick <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to