commit | 54957a823330ba15960b637712acef65edc2678f | [log] [tgz] |
---|---|---|
author | Adrian Danis <adanis@fuchsia.infra.roller.google.com> | Thu Apr 21 01:34:35 2022 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Apr 20 18:36:22 2022 -0700 |
tree | 80490657c2debc9b9af86476257373b274d904de | |
parent | 002aaa94ba1fff8e50231ebaa71f70e549e976cd [diff] |
[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
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
.