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
..
2021-07-29 17:50:18 +02:00
2021-05-20 09:24:41 +02:00
2021-08-24 12:22:56 +02:00
2021-03-11 15:09:25 +01:00
2021-05-27 19:43:55 +03:00
2021-05-25 22:37:30 +02:00
2020-10-14 12:28:17 +02:00
2021-04-06 20:42:50 +02:00
2021-05-27 10:19:13 +02:00
2021-07-29 16:03:50 +02:00
2021-04-27 21:47:59 +03:00
2020-02-13 11:10:03 +01:00
2021-08-24 12:22:56 +02:00
2020-09-22 10:17:39 +02:00
2021-02-18 18:54:29 +02:00
2021-04-22 11:42:46 +03:00
2021-07-06 09:33:51 +02:00
2020-09-22 10:17:39 +02:00
2021-05-25 22:20:36 +02:00
2019-10-29 17:08:57 +02:00
2020-09-22 10:17:39 +02:00
2021-07-29 17:50:18 +02:00
2020-09-22 10:17:39 +02:00
2021-05-27 10:19:13 +02:00
2020-02-13 11:10:03 +01:00
2020-02-13 11:10:03 +01:00