Revision a82593dbd5cd33eb2597f1d7b87dc87594a3c075 authored by Joe Stringer on 04 March 2022, 01:38:47 UTC, committed by Chris Tarazi on 29 April 2022, 19:19:35 UTC
[ upstream commit 7f9cfd1fe380e4a26657a4d5137152e36b09b0bd ]

Similar to the prior commit, when releasing identities, it is possible
for the identity allocator to attempt to hold SelectorCache.mutex while
handling the release of identities. Therefore, this commit moves the
release of identities outside of the critical section for the
SelectorCache during AddFQDNSelector() (during selector creation), as
well as during the removal of the selector from the SelectorCache.

Found by code inspection.

Signed-off-by: Joe Stringer <joe@cilium.io>
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
1 parent bab6ee4
History
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.2 KB
.travis.yml -rw-r--r-- 1.1 KB
AUTHORS -rw-r--r-- 20.5 KB
CHANGELOG.md -rw-r--r-- 158.6 KB
CODEOWNERS -rw-r--r-- 592 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-- 8 bytes
LICENSE -rw-r--r-- 11.1 KB
MAINTAINERS.md -rw-r--r-- 3.6 KB
Makefile -rw-r--r-- 27.8 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.6 KB
go.sum -rw-r--r-- 140.3 KB
netlify.toml -rw-r--r-- 92 bytes
vagrant_box_defaults.rb -rw-r--r-- 392 bytes

README.rst

back to top