diff options
author | glebius <glebius@FreeBSD.org> | 2012-12-25 14:08:13 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2012-12-25 14:08:13 +0000 |
commit | 7ccc77532c6e05b3e2eee10cc7a5cacda533fda0 (patch) | |
tree | 0da71cd8a002919afd54043c3c4af86b6dc47ffc /share | |
parent | 2b889e140744e78d10733f1576cd273c5957766a (diff) | |
download | FreeBSD-src-7ccc77532c6e05b3e2eee10cc7a5cacda533fda0.zip FreeBSD-src-7ccc77532c6e05b3e2eee10cc7a5cacda533fda0.tar.gz |
Change net.inet.carp.demotion sysctl to add the supplied value
to the current demotion factor instead of assigning it.
This allows external scripts to control demotion factor together
with kernel in a raceless manner.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/carp.4 | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/share/man/man4/carp.4 b/share/man/man4/carp.4 index c1dfa57..d051377 100644 --- a/share/man/man4/carp.4 +++ b/share/man/man4/carp.4 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 29, 2012 +.Dd December 25, 2012 .Dt CARP 4 .Os .Sh NAME @@ -125,15 +125,14 @@ experiences problem with sending announcements, when an interface running a vhid goes down, or while the .Xr pfsync 4 interface is not synchronized. -The demotion value is writable, so that user may alter it -depending on some external conditions, for example on the status of some -daemon utility. -However, altering the value should be performed with care, so as to -not conflict with subsystems that adjust demotion factor -automatically: +The demotion factor can be adjusted writing to the sysctl oid. +The signed value supplied to the +.Xr sysctl 8 +command is added to current demotion factor. +This allows to control .Nm -and -.Xr pfsync 4 . +behaviour depending on some external conditions, for example on the status +of some daemon utility. .It Va net.inet.carp.ifdown_demotion_factor This value is added to .Va net.inet.carp.demotion |