[dpdk-dev] [EXTERNAL] [PATCH 2/6] net/bnxt: fix potential data race
Stephen Hemminger
stephen at networkplumber.org
Tue Mar 3 19:16:15 CET 2020
On Tue, 3 Mar 2020 18:13:22 +0000
Christopher Ertl <Christopher.Ertl at microsoft.com> wrote:
> Can we add the `volatile` qualifier to the `hwrm_cmd_resp_addr` member (in drivers/net/bnxt/bnxt.h) to get a stronger guarantee that the compiler won't insert TOCTOU races in the output?
>
> Christopher Ertl | MSRC Vulnerabilities & Mitigations | Microsoft Limited | +44 7773976589 | Christopher.Ertl at microsoft.com
>
> Microsoft Limited (company number 01624297) is a company registered in England and Wales whose registered office is at Microsoft Campus, Thames Valley Park, Reading. RG6 1WG
Should this be done for all the registers in that structure?
More information about the dev
mailing list