Marius van der Wijden 8dbf261fd9
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: Felix Lange <fjl@twurst.com>
2021-08-24 12:22:56 +02:00
..
2020-02-13 11:10:03 +01:00
2021-02-18 18:54:29 +02:00
2020-02-13 11:10:03 +01:00
2020-02-13 11:10:03 +01:00