[roll] Roll fuchsia [netstack3] Wrap RingBuffer::head on mark_read

Wrap the head index around when marking a portion of the buffer as
already-read so that it remains between 0 and storage.len(). Also add a
test case.

Original-Bug: 109960
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/727031
Original-Revision: 4751b4128afe0d7bf98d9d77181892fbb9fd1275
GitOrigin-RevId: a54e288aa0a8227fdcfee7cc1e55030f7cd0ab69
Change-Id: I05dafedf39060262c29f78fbccb785383509522d
1 file changed
tree: 10a043237a54ff958fe783f6b5155d54180a3cd9
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. 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 via the IRC channel #fuchsia on Freenode.

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.