moby/libnetwork/networkdb
Cory Snider 962c238c17 libnet/networkdb: use atomics for stats counters
The per-network statistics counters are loaded and incremented without
any concurrency control. Use atomic integers to prevent data races
without having to add any synchronization.

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit d31fa84c7c)
Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-02-16 19:16:36 -05:00
..
broadcast.go Optimize networkDB queue 2018-07-02 16:59:45 -07:00
cluster.go libnet/networkdb: use atomics for stats counters 2023-02-16 19:16:36 -05:00
delegate.go Optimize networkDB queue 2018-07-02 16:59:45 -07:00
event_delegate.go Avoid delay on node rejoin, avoid useless witness 2018-01-23 16:21:18 -08:00
message.go NetworkDB allow setting PacketSize 2017-07-26 13:44:33 -07:00
networkdb.go libnet/networkdb: use atomics for stats counters 2023-02-16 19:16:36 -05:00
networkdb.pb.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
networkdb.proto Spelling fixes 2018-07-12 12:54:44 -07:00
networkdb_test.go libnet/networkdb: use atomics for stats counters 2023-02-16 19:16:36 -05:00
networkdbdiagnostic.go libnet/networkdb: use atomics for stats counters 2023-02-16 19:16:36 -05:00
nodemgmt.go Cleanup node management logic 2017-12-13 09:40:38 -08:00
watch.go Fix leak of handleTableEvents 2017-05-31 11:04:19 -07:00