Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btf: fix data race in
(*mutableTypes).copy
Move the creation of the mutableTypes copy under the read lock, so that the access to the len of the source types is protected when pre-allocating the maps. Signed-off-by: Paul Cacheux <[email protected]>
- Loading branch information