Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2022 14:53:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 262983] net.pfsync.carp_demotion_factor value is "ignored"
Message-ID:  <bug-262983-227-NnheG5Aja5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262983-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262983-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262983

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D68efe27ffaec8bec9968800f2eddeca29=
40b78e4

commit 68efe27ffaec8bec9968800f2eddeca2940b78e4
Author:     Luiz Amaral <email@luiz.eng.br>
AuthorDate: 2022-04-02 10:09:06 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2022-04-11 14:52:33 +0000

    pfsync: Add CTLFLAG_VNET to carp_demotion_factor sysctl

    When trying to avoid a CARP demotion during a pfsync service restart, I
    noticed that a non-default value for the net.pfsync.carp_demotion_factor
    sysctl was not being applied during the demotion. The CARP was always
    demoted by 240.

    After investigating, I realized that the sysctl was using VNET_NAME()
    without the CTLFLAG_VNET.

    PR:             262983
    Reviewed by:    kp
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D34737

    (cherry picked from commit 654c1b8ef3c0fcbad3a77ea2a6f35c0dffc86e88)

 sys/netpfil/pf/if_pfsync.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262983-227-NnheG5Aja5>