[roll] Roll fuchsia [kernel][socket] Change read off and buf length

This changes how read offsets and lengths are stored in each MBuf.
Previously there was both an offset and length remaining stored in
the MBuf, with the length being the amount of data, from that offset,
remaining. This meant that a read would both increment offset, and
decrement length.

This makes it so that the length is just the length of data in the
MBuf, and there is a single read offset stored in the MBufChain. A
single read offset is sufficient since only one MBuf (the current
buffers_.front()) is actually being read from. To then simplify the
MBuf invariants the length is changed from length remaining from the
offset, to just the length of data in the MBuf.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/670883
Original-Revision: 9575d4b3d89a3d739afa5829cac397bc362f92ea
GitOrigin-RevId: a7ceebe3b60c2ee6afeed9b3ac0160a525dfe4ce
Change-Id: Ic2e674f3374d975c91b90b08c103b3453f905cc7
1 file changed
tree: 80490657c2debc9b9af86476257373b274d904de
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
  12. 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.