commit | a1eb594f7605503fe9f7be5c18753f9d7ba5faa9 | [log] [tgz] |
---|---|---|
author | Bjoern Johansson <bjoernj@fuchsia.infra.roller.google.com> | Fri Jun 04 23:14:30 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Jun 04 16:15:25 2021 -0700 |
tree | edcd2c745fff41455be1f5561de5c33a2fee07b3 | |
parent | b283520b427e67e838ffab5ad3cb81b215a6ac9a [diff] |
[roll] Roll fuchsia [brcmfmac] Fix dropped scan results race condition When starting a scan we associate a sync ID with each scan, this is sent to firmware and each scan result contains this sync ID to ensure that the scan result belongs to the currently ongoing scan. The sync ID is not stored until the scan has started, this means that it's vulnerable to a race condition where if the thread that starts the scanning gets suspended before it stores the sync ID results could arrive and they would be matched against an incorrect sync ID. This would cause the results to be dropped. This fixes the issue by introducing a lock such that the whole process of starting a scan completes before we start processing results. Test: Manual testing able to reproduce without fix, not with fix Original-Bug: fxbug.dev/77630 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/536032 Original-Revision: 55bcf7ce1ef84c3b267ee128566294f08325700a GitOrigin-RevId: edc01a24e8ed6e41dc0170562a930263dbad3bb5 Change-Id: I03779fa38822994be0171f186da3c604ac4f6341
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
.