crosvm/net_util
Peter Oskolkov 84edec5323 tap: ensure the tap file is O_NONBLOCK
CrosVM must ensure that the tap file it uses is O_NONBLOCK, otherwise
the networking is very slow. Currently CrosVM uses O_NONBLOCK when
opening the tap file directly in create_tap_with_ifreq, and it must
ensure the same behavior if the tap file is created from a raw
descriptor.

BUG=b:257304931

Change-Id: I32ce42085ba312993dce32c457a8e5376b94c46b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4003798
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Peter Oskolkov <posk@google.com>
2022-11-03 22:45:30 +00:00
..
src tap: ensure the tap file is O_NONBLOCK 2022-11-03 22:45:30 +00:00
build.rs net_util: Add windows slirp support 2022-10-11 15:25:38 +00:00
Cargo.toml Add --net option to the crosvm run command 2022-10-19 02:18:27 +00:00
prebuilts_version net_util: Add windows slirp support 2022-10-11 15:25:38 +00:00