diff options
author | Jamie Liu <jamieliu@google.com> | 2020-05-12 12:24:23 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-12 12:26:05 -0700 |
commit | 8dd1d5b75a95100e747b1a88e9e557d5d2c30b64 (patch) | |
tree | 9846e2c721ed9bd4d02390b23d7b26d9212b7965 /pkg/sentry/device/BUILD | |
parent | 06ded1c4372d4871f0581c7090957935d93cd50e (diff) |
Don't call kernel.Task.Block() from netstack.SocketOperations.Write().
kernel.Task.Block() requires that the caller is running on the task goroutine.
netstack.SocketOperations.Write() uses kernel.TaskFromContext() to call
kernel.Task.Block() even if it's not running on the task goroutine. Stop doing
that.
PiperOrigin-RevId: 311178335
Diffstat (limited to 'pkg/sentry/device/BUILD')
0 files changed, 0 insertions, 0 deletions