summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/devpts/terminal.go
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2020-05-12 12:24:23 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-12 12:26:05 -0700
commit8dd1d5b75a95100e747b1a88e9e557d5d2c30b64 (patch)
tree9846e2c721ed9bd4d02390b23d7b26d9212b7965 /pkg/sentry/fsimpl/devpts/terminal.go
parent06ded1c4372d4871f0581c7090957935d93cd50e (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/fsimpl/devpts/terminal.go')
0 files changed, 0 insertions, 0 deletions