[Bug 229384] Can't remove address from carp

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 20 01:01:44 UTC 2018


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

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

Author: loos
Date: Mon Aug 20 01:01:34 UTC 2018
New revision: 338081
URL: https://svnweb.freebsd.org/changeset/base/338081

Log:
  MFC r312770 and r337854:

  After the in_control() changes in r257692, an existing address is
  (intentionally) deleted first and then completely added again (so all the
  events, announces and hooks are given a chance to run).

  This cause an issue with CARP where the existing CARP data structure is
  removed together with the last address for a given VHID, which will cause
  a subsequent fail when the address is later re-added.

  This change fixes this issue by adding a new flag to keep the CARP data
  structure when an address is not being removed.

  There was an additional issue with IPv6 CARP addresses, where the CARP data
  structure would never be removed after a change and lead to VHIDs which
  cannot be destroyed.

  PR:           229384
  Sponsored by: Rubicon Communications, LLC (Netgate)

Changes:
_U  stable/11/
  stable/11/sys/net/if.c
  stable/11/sys/netinet/in.c
  stable/11/sys/netinet/ip_carp.c
  stable/11/sys/netinet/ip_carp.h
  stable/11/sys/netinet6/in6.c

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


More information about the freebsd-net mailing list