summaryrefslogtreecommitdiffhomepage
path: root/pkg/compressio/compressio.go
diff options
context:
space:
mode:
authorAmanda Tait <atait@google.com>2019-02-26 09:09:42 -0800
committerShentubot <shentubot@google.com>2019-02-26 09:10:37 -0800
commit33d0e824c73a918ad59586084b47cd53fe07ca36 (patch)
tree903e21729569dd0b79a2a0c27659f95876a8139b /pkg/compressio/compressio.go
parent52a2abfca43cffdb9cafb91a4266dacf51525470 (diff)
Use more conservative locking in NIC.DeliverNetworkPacket
An earlier CL excessively minimizes the period in which it holds a lock on NIC. This earlier CL had done this out of the mistaken impression it fixed a broken test, when in fact it just reduced the rate of failure of a flaky test in tcp_test.go. This new change holds the lock on NIC for the duration of the loop over n.endpoints. PiperOrigin-RevId: 235732487 Change-Id: I53ee6df264f093ddc4d29e9acdcba6b4838cb112
Diffstat (limited to 'pkg/compressio/compressio.go')
0 files changed, 0 insertions, 0 deletions