Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2018 01:01:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 229384] Can't remove address from carp
Message-ID:  <bug-229384-7501-ZMV9Ok7gDI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229384-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229384-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229384

--- Comment #16 from commit-hook@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 da=
ta
  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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229384-7501-ZMV9Ok7gDI>