nanovms / nanos

A kernel designed to run one and only one application in a virtualized environment
https://nanos.org
Apache License 2.0
2.59k stars 134 forks source link

Vsock fixes #1971

Closed francescolavra closed 9 months ago

francescolavra commented 9 months ago

This changeset fiexs two issues in the vsock code when run in multi-processor machines:

  1. A lock inversion problem could cause deadlocks when a vsock file descriptor was registered in an epoll instance operated by multiple threads
  2. The requirement of the stream socket type that guarantees delivery of ordered packets during a connection was not satisfied