diff options
author | Kevin Krakauer <krakauer@google.com> | 2021-07-13 11:18:15 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-07-13 11:20:54 -0700 |
commit | 1fe6db8c542431d3d6e229f563fefbd2f962fc81 (patch) | |
tree | 2f3c1cc524ea395fcc6671e1de1416ac3b0bea56 /test/root/chroot_test.go | |
parent | b4caeaf78f533037d191b61fc83919a3ecd379d1 (diff) |
netstack: atomically update buffer sizes
Previously, two calls to set the send or receive buffer size could have raced
and left state wherein:
- The actual size depended on one call
- The value returned by getsockopt() depended on the other
PiperOrigin-RevId: 384508720
Diffstat (limited to 'test/root/chroot_test.go')
0 files changed, 0 insertions, 0 deletions