Revert "arc: net: Increase IPv6 provisioning delay by 2 seconds"

This reverts commit bd117998bded9c9ba0cf8a585f083928ca350e39.

Reason for revert: 
We are disabling multi-networking in R76 for IPv6 stability. This change is actually causing CTS failure in single-networking mode (since IPv6 takes too long to provision) so we need to revert it.

BUG=b:135545546
TEST=CTS pass on atlas (w/ exceptions, see buganizer page for detail)

Original change's description:
> arc: net: Increase IPv6 provisioning delay by 2 seconds
> 
> As commented in router_finder, sendto() on an IPPROTO_ICMP6 socket can
> return EADDRNOTAVAIL if done too quickly after preparing the socket. As
> of now the reason is still unknown as EADDRNOTAVAIL is not a documented
> error case of sendto(). Investigations in the linux kernel sources for
> the socket protocol handler of IPPROTO_ICMP6 did not revealed anything.
> One possibility which was not explored was a possible bug in the third
> party ndp library.
> 
> The failure of sendto() on EADDRNOTAVAIL can prevent IPv6 provisioning
> for ARC, which is a user facing issue and a source of spurious errors
> for CTS verifications. This patch adds 2 seconds to the provisioning
> delay in order to reduce the failure rate.
> 
> The impact is limited to IPv6 only networks since on IPv4 only networks
> or dual stack networks, connectivity over IPv4 is available typically
> almost immediately thanks to the host network already being provisioned.
> 
> BUG=b:135545546
> TEST=Without the additional delay, IPv6 provisioning on login can fail
> up to 20~25% of the time on eve with ARC multinetworking on (over ~20
> trials). With the additional delay, no failure were observed over 10
> trials.
> 
> Change-Id: I0c086a54a759cd6de23d6b4aa28a0fa3745fbf65
> Reviewed-on: https://chromium-review.googlesource.com/1669384
> Tested-by: Hugo Benichi <hugobenichi@google.com>
> Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
> Reviewed-by: Garrick Evans <garrick@chromium.org>
> Reviewed-by: Hugo Benichi <hugobenichi@google.com>
> Reviewed-by: Kazuhiro Inaba <kinaba@chromium.org>
> (cherry picked from commit ec18bf8a74461e056a356fa209cfb40dfcdcb520)
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/1673962
> Commit-Queue: Hugo Benichi <hugobenichi@google.com>
> Auto-Submit: Hugo Benichi <hugobenichi@google.com>

Bug: b:135545546
Change-Id: I09110502e225d68354780540919d29eb2f69a017
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/1757745
Tested-by: Taoyu Li <taoyl@chromium.org>
Reviewed-by: Garrick Evans <garrick@chromium.org>
Reviewed-by: Kazuhiro Inaba <kinaba@chromium.org>
Reviewed-by: Elijah Taylor <elijahtaylor@chromium.org>
Commit-Queue: Kazuhiro Inaba <kinaba@chromium.org>
Commit-Queue: Elijah Taylor <elijahtaylor@chromium.org>
Auto-Submit: Taoyu Li <taoyl@chromium.org>
1 file changed
tree: cec6344e5ed16f2725b229697fdbcc081e48d975
  1. arc/
  2. attestation/
  3. authpolicy/
  4. avtest_label_detect/
  5. biod/
  6. bluetooth/
  7. bootstat/
  8. buffet/
  9. camera/
  10. cecservice/
  11. cfm-device-updater/
  12. chaps/
  13. chromeos-common-script/
  14. chromeos-config/
  15. chromeos-dbus-bindings/
  16. common-mk/
  17. container_utils/
  18. crash-reporter/
  19. cros-disks/
  20. cros_component/
  21. crosdns/
  22. crosh/
  23. cryptohome/
  24. cups_proxy/
  25. debugd/
  26. diagnostics/
  27. disk_updater/
  28. dlcservice/
  29. easy-unlock/
  30. feedback/
  31. fitpicker/
  32. glib-bridge/
  33. goldfishd/
  34. hammerd/
  35. hardware_verifier/
  36. hermes/
  37. image-burner/
  38. imageloader/
  39. init/
  40. installer/
  41. ippusb_manager/
  42. kerberos/
  43. libbrillo/
  44. libchromeos-rs/
  45. libchromeos-ui/
  46. libcontainer/
  47. libhwsec/
  48. libipproto/
  49. libpasswordprovider/
  50. libtpmcrypto/
  51. login_manager/
  52. lorgnette/
  53. media_perception/
  54. mems_setup/
  55. metrics/
  56. midis/
  57. mist/
  58. ml/
  59. modem-utilities/
  60. modemfwd/
  61. mtpd/
  62. oobe_config/
  63. p2p/
  64. peerd/
  65. permission_broker/
  66. policy_proto/
  67. policy_utils/
  68. portier/
  69. power_manager/
  70. qmi2cpp/
  71. regions/
  72. rendernodehost/
  73. run_oci/
  74. runtime_probe/
  75. salsa/
  76. screenshot/
  77. sealed_storage/
  78. secure_erase_file/
  79. sepolicy/
  80. shill/
  81. smbprovider/
  82. smogcheck/
  83. st_flash/
  84. storage_info/
  85. system_api/
  86. thd/
  87. timberslide/
  88. touch_firmware_calibration/
  89. touch_keyboard/
  90. tpm2-simulator/
  91. tpm_manager/
  92. trace_events/
  93. trim/
  94. trunks/
  95. u2fd/
  96. usb_bouncer/
  97. userfeedback/
  98. userspace_touchpad/
  99. virtual_file_provider/
  100. vm_tools/
  101. vpn-manager/
  102. webserver/
  103. wifi-testbed/
  104. .clang-format
  105. .gitignore
  106. .gn
  107. COMMIT-QUEUE.ini
  108. CPPLINT.cfg
  109. LICENSE
  110. PRESUBMIT.cfg
  111. README.md
README.md

The Chromium OS Platform

This repo holds (most) of the custom code that makes up the Chromium OS platform. That largely covers daemons, programs, and libraries that were written specifically for Chromium OS.

We moved from multiple separate repos in platform/ to a single repo in platform2/ for a number of reasons:

  • Make it easier to work across multiple projects simultaneously
  • Increase code re-use (via common libs) rather than duplicate utility functions multiple items over
  • Share the same build system

While most projects were merged, not all of them were. Some projects were standalone already (such as vboot), or never got around to being folded in (such as imageloader). Some day those extra projects might get merged in.

Similarly, some projects that were merged in, were then merged back out. This was due to the evolution of the Brillo project and collaboration with Android. That means the AOSP repos are the upstream and Chromium OS carries copies.

Local Project Directory

ProjectDescription
arcTools/deamons/init-scripts to run ARC
attestationDaemon and client for managing remote attestation
authpolicyDaemon for integrating with Microsoft Active Directory (AD) domains
avtest_label_detectTest tool for OCRing device labels
biodBiometrics daemon
bluetoothBluetooth Service and tools
bootstatTools for tracking points in the overall boot process (for metrics)
buffetDaemon for reacting to cloud messages
cameraChrome OS Camera daemon
cecserviceService for switching CEC enabled TVs on and off
cfm-device-updaterFirmware updaters for CFM peripherals
chapsPKCS #11 implementation for TPM 1 devices
chromeos-common-scriptShared scripts for partitions and basic disk information
chromeos-configCrOS unified build runtime config manager
chromeos-dbus-bindingsSimplifies the implementation of D-Bus daemons and proxies
common-mkCommon build & test logic for platform2 projects
container_utilsSupport tools for containers (e.g. device-jail)
crash-reporterThe system crash handler & reporter
cros-disksDaemon for mounting removable media (e.g. USB sticks and SD cards)
cros_component
crosdnsHostname resolution service for Chrome OS
croshThe Chromium OS shell
cryptohomeDaemon and tools for managing encrypted /home and /var directories
cups_proxyDaemon for proxying CUPS printing request
debugdCentralized debug daemon for random tools
diagnosticsDevice telemetry and diagnostics daemons
disk_updaterUtility for updating root disk firmware (e.g. SSDs and eMMC)
dlcserviceDownloadable Content (DLC) Service daemon
easy-unlockDaemon for handling Easy Unlock requests (e.g. unlocking Chromebooks with an Android device)
feedbackDaemon for headless systems that want to gather feedback (normally Chrome manages it)
fitpicker
glib-bridgelibrary for libchrome-glib message loop interoperation
goldfishdAndroid Emulator Daemon
hammerdFirmware updater utility for hammer hardware
hardware_verifierHardware verifier tool
hermesChrome OS LPA implementation for eSIM hardware support
image-burnerDaemon for writing disk images (e.g. recovery) to USB sticks & SD cards
imageloaderDaemon for mounting signed disk images
initCrOS common startup init scripts and boot time helpers
installerCrOS installer utility (for AU/recovery/etc...)
ippusb_manager“Service” for ipp-over-usb printing
kerberosDaemon for managing Kerberos tickets
libbrilloCommon platform utility library
libchromeos-rsCommon platform utility library for Rust
libchromeos-ui
libcontainer
libhwsecLibrary for the utility functions of all TPM related daemons
libipprotoLibrary for building and parsing IPP (Internet Printing Protocol) frames
libpasswordproviderPassword Provider library for securely managing credentials with system services
libtpmcryptoLibrary for AES256-GCM encryption with TPM sealed keys
login_managerSession manager for handling the life cycle of the main session (e.g. Chrome)
lorgnetteDaemon for managing attached USB scanners via SANE
media_perceptionMedia perception service for select platforms
memdDaemon that logs memory-related data and events
mems_setupBoot-time initializer tool for sensors
metricsClient side user metrics collection
midisMIDI service
mistModem USB Interface Switching Tool
mlMachine learning service
modem-utilities
modemfwdDaemon for managing modem firmware updaters
mtpdDaemon for handling Media Transfer Protocol (MTP) with devices (e.g. phones)
oobe_configUtilities for saving and restoring OOBE config state
p2pService for sharing files between CrOS devices (e.g. updates)
peerdDaemon for communicating with local peers
permission_broker
policy_protoBuild file to compile policy proto file
policy_utilsTools and related library to set or override device policies
portierMulti-Network Neighbor Discovery Proxy service for Chrome OS
power_managerUserspace power management daemon and associated tools
qmi2cppChrome OS QMI IDL Compiler
regions
rendernodehostRender node forward library
run_ociMinimalistic container runtime
runtime_probeRuntime probe tool for ChromeOS
salsaTouchpad experimentation framework
screenshotTiny command to take a screenshot
sealed_storageLibrary for sealing data to device identity and state
secure_erase_fileHelper tools for securely erasing files from storage (e.g. keys and PII data)
sepolicySELinux policy for Chrome OS
shillChrome OS Connection Manager
smbproviderDaemon for connecting Samba / Windows networking shares to the Files.app
smogcheckDeveloper library for working with raw I2C devices
st_flash
storage_infoHelper shell functions for retrieving disk information)
system_apiHeaders and .proto files etc. to be shared with chromium
thdThermal daemon to help keep systems running cool
timberslideTool for working with EC crashes for reporting purposes
touch_firmware_calibration
touch_keyboardUtilities for a touch based virtual keyboard
tpm2-simulatorA software TPM 2.0 implementation (for testing/debugging)
tpm_managerDaemon and client for managing TPM setup and operations
trace_eventsA framework for adding trace events to your Rust code.
trimService to manage filesystem trim operations in the background
trunksMiddleware and resource manager for interfacing with TPM 2.0 hardware
u2fdU2FHID emulation daemon for systems with secure elements (not TPMs)
usb_bouncerTools for managing USBGuard white-lists and configuration on Chrome OS
userfeedbackVarious utilities to gather extended data for user feedback reports
userspace_touchpad
virtual_file_provider
vm_toolsUtilities for Virtual Machine (VM) orchestration
vpn-manager
webserverSmall web server with D-Bus client backends
wifi-testbedTools for creating a WiFi testbed image

AOSP Project Directory

These projects can be found here: https://chromium.googlesource.com/aosp/platform/