summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link/nested
diff options
context:
space:
mode:
authorChong Cai <chongc@google.com>2020-10-12 17:28:20 -0700
committergVisor bot <gvisor-bot@google.com>2020-10-12 17:30:14 -0700
commitef90fe173380a8d769c699aec08737ef56f43c3e (patch)
tree5ef76cba87b92bb950427976b5b7cea158ef2418 /pkg/tcpip/link/nested
parente7bbe70f79aa9308c2eb54b057ee5779b22f478e (diff)
Change Merkle tree library to use ReaderAt
Merkle tree library was originally using Read/Seek to access data and tree, since the parameters are io.ReadSeeker. This could cause race conditions if multiple threads accesses the same fd to read. Here we change to use ReaderAt, and implement it with PRead to make it thread safe. PiperOrigin-RevId: 336779260
Diffstat (limited to 'pkg/tcpip/link/nested')
0 files changed, 0 insertions, 0 deletions