https://github.com/cilium/cilium
Revision e253b2a999dbf5907edc05774cd1c77663b688bb authored by Joe Stringer on 04 November 2021, 21:21:29 UTC, committed by Joe Stringer on 23 November 2021, 01:05:51 UTC
[ upstream commit f559cf1cecb0780eb3a815c951fe599f4918e474 ]

FQDN selectors hold references to CIDR identities, one for each
'fqdnSelector.cachedSelections' entry. Previously, these would be
associated with the fqdnSelector during creation of the selector but
they were not released when the fqdnSelector is deleted from the cache.

Commit de10e82639cc ("fqdn: Move identity allocation to FQDN selector")
fixed a similar bug recently during the update of existing selectors;
this code is balancing the release for identities allocated during the
initial creation of each FQDN selector.

Signed-off-by: Joe Stringer <joe@cilium.io>
1 parent 5348ed3
History
Tip revision: e253b2a999dbf5907edc05774cd1c77663b688bb authored by Joe Stringer on 04 November 2021, 21:21:29 UTC
selectorcache: Release identities on selector removal
Tip revision: e253b2a
File Mode Size
.github
.travis
Documentation
api
bpf
bugtool
cilium
cilium-health
clustermesh-apiserver
contrib
daemon
envoy
examples
hack
hubble-relay
images
install
jenkinsfiles
operator
pkg
plugins
proxylib
test
tests
tools
vendor
.authors.aux -rw-r--r-- 416 bytes
.gitattributes -rw-r--r-- 260 bytes
.gitignore -rw-r--r-- 1.5 KB
.gitmodules -rw-r--r-- 0 bytes
.golangci.yaml -rw-r--r-- 3.3 KB
.mailmap -rw-r--r-- 4.0 KB
.travis.yml -rw-r--r-- 1.1 KB
AUTHORS -rw-r--r-- 19.7 KB
CHANGELOG.md -rw-r--r-- 144.7 KB
CODEOWNERS -rw-r--r-- 594 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 2.2 KB
CONTRIBUTING.md -rw-r--r-- 227 bytes
FURTHER_READINGS.rst -rw-r--r-- 4.9 KB
GO_VERSION -rw-r--r-- 7 bytes
LICENSE -rw-r--r-- 11.1 KB
MAINTAINERS.md -rw-r--r-- 3.6 KB
Makefile -rw-r--r-- 27.6 KB
Makefile.defs -rw-r--r-- 6.0 KB
Makefile.docker -rw-r--r-- 6.1 KB
Makefile.quiet -rw-r--r-- 718 bytes
README.rst -rw-r--r-- 14.7 KB
SECURITY.md -rw-r--r-- 615 bytes
USERS.md -rw-r--r-- 6.8 KB
VERSION -rw-r--r-- 7 bytes
Vagrantfile -rw-r--r-- 12.8 KB
go.mod -rw-r--r-- 5.5 KB
go.sum -rw-r--r-- 139.6 KB
netlify.toml -rw-r--r-- 92 bytes
vagrant_box_defaults.rb -rw-r--r-- 392 bytes

README.rst

back to top