| commit | fdd4f5ce28c3f86a32b9c39f93b51d11bbdc8ed4 | [log] [tgz] |
|---|---|---|
| author | Ghanan Gowripalan <ghanan@fuchsia.infra.roller.google.com> | Mon Jul 03 21:49:30 2023 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Mon Jul 03 14:50:33 2023 -0700 |
| tree | 2a88b5da7426a5141324094a6b43019667a47244 | |
| parent | e722bd99653d94494087b16d51cbf975cd2c6b77 [diff] |
[roll] Roll fuchsia [starnix] Refactor `ioctl(_, SIOCGIFINDEX, _)`
...to go through the netlink implementation instead of `zxio`.
This is so that starnix makes all netstack-related queries/updates
through a single entity (netlink) to avoid races where the netlink
implementation (which maintains a copy of netstack state learned
through various watchers like `fuchsia.net.interfaces/Watcher` and
`fuchsia.net.routes/WatcherV{4,6}`) is slightly stale because it has
not yet processed some updates from the netstack.
This change also fixes a bug where making the `SIOCGIFINDEX` request
for an interface that does not exist returned `ENOENT` instead of
`ENODEV`.
Original-Fixed: 129547
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/879982
Original-Revision: 557cbd4283c5b1e2068b6a41cf1ccb8ca5da20dd
GitOrigin-RevId: 2ece3e9ed130d45054076072f6eff709dca80a20
Change-Id: Ie6ae108d8c682dd7b3d18f3d96d8b78d637d498e
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.