good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 8dbf261f authored by Marius van der Wijden's avatar Marius van der Wijden Committed by GitHub
Browse files

p2p, p2p/enode: fix data races (#23434)


In p2p/dial.go, conn.flags was accessed without using sync/atomic.
This race is fixed by removing the access.

In p2p/enode/iter_test.go, a similar race is resolved by writing the field atomically.

Co-authored-by: default avatarFelix Lange <fjl@twurst.com>
parent 79bb9300
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment