You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Sent and Received variables are modified using atomic functions, but I suspect they need to read through similar APIs for something thread-safe?
n.stack.Stats() is:
// Stats returns a mutable copy of the current stats.
//
// This is not generally exported via the public interface, but is available
// internally.
func (s *Stack) Stats() tcpip.Stats {
return s.stats
}
This does not seem to be something which is intended to be accessed safely from multiple threads?
The text was updated successfully, but these errors were encountered:
func (n *VirtualNetwork) Mux() http.Handler
has:The
Sent
andReceived
variables are modified using atomic functions, but I suspect they need to read through similar APIs for something thread-safe?n.stack.Stats() is:
This does not seem to be something which is intended to be accessed safely from multiple threads?
The text was updated successfully, but these errors were encountered: