[Bug 194672] [carp] Changing advskew to 0 from another value doesn't work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 2 11:42:42 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194672

--- Comment #7 from commit-hook at freebsd.org ---
A commit references this bug:

Author: loos
Date: Mon Feb  2 11:42:36 UTC 2015
New revision: 278075
URL: https://svnweb.freebsd.org/changeset/base/278075

Log:
  MFC r276751:

  Remove the check that prevent carp(4) advskew to be set to '0'.

  CARP devices are created with advskew set to '0' and once you set it to
  any other value in the valid range (0..254) you can't set it back to zero.

  The code in question is also used to prevent that zeroed values overwrite
  the CARP defaults when a new CARP device is created.  Since advskew already
  defaults to '0' for newly created devices and the new value is guaranteed
  to be within the valid range, it is safe to overwrite it here.

  PR:        194672
  Reported by:    cmb at pfsense.org

Changes:
_U  stable/10/
  stable/10/sys/netinet/ip_carp.c

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


More information about the freebsd-net mailing list