[Bug 259528] [carp] Backup node becomes second active master when master have some negative demotion values

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 Oct 2021 13:04:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259528

--- Comment #1 from Marius Halden <marius.halden@modirum.com> ---
Created attachment 229122
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229122&action=edit
carp-negative-demote.patch

The attached patch solves the issue by not allowing the demoted advskew to be
less than zero.

-- 
You are receiving this mail because:
You are the assignee for the bug.