Darren Hoo
|
0010db46e4
|
Fix a data race on message counter (#284)
3. ==================
WARNING: DATA RACE
Write at 0x00c00030e020 by goroutine 17:
sync/atomic.AddInt64()
runtime/race_amd64.s:276 +0xb
github.com/slackhq/nebula.(*Interface).sendNoMetrics()
github.com/slackhq/nebula/inside.go:226 +0x9c
github.com/slackhq/nebula.(*Interface).send()
github.com/slackhq/nebula/inside.go:214 +0x149
github.com/slackhq/nebula.(*Interface).readOutsidePackets()
github.com/slackhq/nebula/outside.go:94 +0x1213
github.com/slackhq/nebula.(*udpConn).ListenOut()
github.com/slackhq/nebula/udp_generic.go:109 +0x3b5
github.com/slackhq/nebula.(*Interface).listenOut()
github.com/slackhq/nebula/interface.go:147 +0x15e
Previous read at 0x00c00030e020 by goroutine 18:
github.com/slackhq/nebula.(*Interface).consumeInsidePacket()
github.com/slackhq/nebula/inside.go:58 +0x892
github.com/slackhq/nebula.(*Interface).listenIn()
github.com/slackhq/nebula/interface.go:164 +0x178
|
2020-09-21 21:41:46 -04:00 |
|