commit | f7ba5ae0082a42be45bf294e128f7f48d55617c0 | [log] [tgz] |
---|---|---|
author | Peter Johnston <peterjohnston@fuchsia.infra.roller.google.com> | Wed May 15 04:42:40 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Tue May 14 21:46:02 2024 -0700 |
tree | fdddb83abe8f7e05c639eea0a51e0654bf5b6162 | |
parent | ce8855574c8e427e4fbb8729c1f1026f70b28e85 [diff] |
[roll] Roll fuchsia [packet-formats] No pseudo header in ICMPv4 checksum ICMPv4 packets produced by packet-formats do not include the IP pseudo header in their transport-layer checksum calculation, because the IPv4 header always includes a checksum. Fix the pseudo header checksum update logic to correctly do nothing for ICMPv4. The existing test did not catch this because it was swapping the source and destination IP addresses, resulting in a checksum that was the same as if those addresses had never been included. Fix the test to use different IP addresses for both source and destination such that it catches this bug. Original-Bug: 321013529 Test: netstack3-filter-test Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1048072 Original-Revision: 0330c7696ccd4141570f33dd9f92c5861d62afb4 GitOrigin-RevId: f70d782281edd8fbcd027ad4dd17857878f732b6 Change-Id: I8b325be1341a09318ec3094e524207d2719afb29
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
.