[roll] Roll fuchsia [netdevice] Fix crash when switching sessions

Observed when adding controlled shutdown to netstack3. There's a
specific series of events that cause the attempt to take over primary
session when a session newly attaches a port that attempts to insert a
nullptr in a doubly linked list.

Fix the code with a simple check and add a regression test.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1259365
Original-Revision: 55a0c3fb6555295c89dc5569179368fdab1a1f5a
GitOrigin-RevId: 20d1ed1f0656c93daf00bff3431a07592daa7a95
Change-Id: I30f71181343a3d9990ed010da848b48e48da5c03
1 file changed
tree: 7d92ef734b8f2020e5a5810a5fb4bc13ad3f757b
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

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 in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.