Summary: | [ip] [pf] pfSync generates demotion events to carp when not needed | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Ermal Luçi <eri> | ||||
Component: | kern | Assignee: | freebsd-net (Nobody) <net> | ||||
Status: | New --- | ||||||
Severity: | Affects Only Me | CC: | babak, garga, gnn, net | ||||
Priority: | --- | ||||||
Version: | 10.1-RELEASE | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
^Triage: commit bit was taken in for safekeeping. |
Created attachment 156929 [details] Prevent pfsync/carp demotions when value is 0 pfSync generates demotion events even when net.pfsync.carp_demotion_factor is 0. The same applies to the carp net.inet.carp.senderr_demotion_factor is 0. This triggers unneeded events on the system which might impact availability of the carp ip. Attached patch just skips these events in case the values are 0, meaning administratively disable the event.