Bug 200321 - [ip] [pf] pfSync generates demotion events to carp when not needed
Summary: [ip] [pf] pfSync generates demotion events to carp when not needed
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-net (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-19 08:36 UTC by Ermal Luçi
Modified: 2024-01-12 20:30 UTC (History)
4 users (show)

See Also:


Attachments
Prevent pfsync/carp demotions when value is 0 (2.51 KB, patch)
2015-05-19 08:36 UTC, Ermal Luçi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ermal Luçi 2015-05-19 08:36:03 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2024-01-05 04:38:09 UTC
^Triage: commit bit was taken in for safekeeping.