diff options
author | Lijun Pan <ljp@linux.ibm.com> | 2021-01-27 19:34:42 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-27 19:12:02 -0800 |
commit | e41aec79e62fa50f940cf222d1e9577f14e149dc (patch) | |
tree | 55d18590bedee7d2c4b1b2a3e93a3089b6967b7a /drivers/net/wan/n2.c | |
parent | 0f764eec3ea23b7b2c64fb54c9a219553921e93a (diff) |
ibmvnic: Ensure that CRQ entry read are correctly ordered
Ensure that received Command-Response Queue (CRQ) entries are
properly read in order by the driver. dma_rmb barrier has
been added before accessing the CRQ descriptor to ensure
the entire descriptor is read before processing.
Fixes: 032c5e82847a ("Driver for IBM System i/p VNIC protocol")
Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Link: https://lore.kernel.org/r/20210128013442.88319-1-ljp@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wan/n2.c')
0 files changed, 0 insertions, 0 deletions