freebsd-skq/sys/contrib
Gleb Smirnoff f08535f872 Restore a feature that was present in 5.x and 6.x, and was cleared in
7.x, 8.x and 9.x with pf(4) imports: pfsync(4) should suppress CARP
preemption, while it is running its bulk update.

However, reimplement the feature in more elegant manner, that is
partially inspired by newer OpenBSD:

- Rename term "suppression" to "demotion", to match with OpenBSD.
- Keep a global demotion factor, that can be raised by several
  conditions, for now these are:
  - interface goes down
  - carp(4) has problems with ip_output() or ip6_output()
  - pfsync performs bulk update
- Unlike in OpenBSD the demotion factor isn't a counter, but
  is actual value added to advskew. The adjustment values for
  particular error conditions are also configurable, and their
  defaults are maximum advskew value, so a single failure bumps
  demotion to maximum. This is for POLA compatibility, and should
  satisfy most users.
- Demotion factor is a writable sysctl, so user can do
  foot shooting, if he desires to.
2011-12-20 13:53:31 +00:00
..
altq/altq Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
dev Merge ACPICA 20111123. 2011-11-28 23:36:48 +00:00
ia64/libuwx
ipfilter/netinet Adjust a few old checks to use __FreeBSD_version macro to 2011-11-24 21:23:58 +00:00
libfdt Provide kernel level headers for the libfdt code. 2010-06-02 17:24:41 +00:00
ngatm In sys/contrib/ngatm/netnatm/msg/uni_ie.c, use a more appropriate way to 2011-12-15 23:47:36 +00:00
octeon-sdk o) Clean up FPA pools on module unload. 2011-03-16 08:51:36 +00:00
pf Restore a feature that was present in 5.x and 6.x, and was cleared in 2011-12-20 13:53:31 +00:00
rdma Remove the explicit definition of inet_aton() as it was introduced as a 2009-11-12 14:22:12 +00:00
x86emu Integrate OpenBSD rev 1.5 of x86emu.c. 2010-03-09 22:42:24 +00:00