Re: [dpdk-dev] [EXTERNAL] [PATCH 2/6] net/bnxt: fix potential data race

2020-03-05 Thread Christopher Ertl
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.e..

Re: [dpdk-dev] [EXTERNAL] [PATCH 2/6] net/bnxt: fix potential data race

2020-03-03 Thread Stephen Hemminger
On Tue, 3 Mar 2020 18:13:22 + Christopher Ertl 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