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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 6 13:08:03 UTC 2015


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

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

Author: loos
Date: Tue Jan  6 13:07:14 UTC 2015
New revision: 276751
URL: https://svnweb.freebsd.org/changeset/base/276751

Log:
  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
  In collaboration with:    garga
  Tested by:    garga
  MFC after:    2 weeks

Changes:
  head/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