diff options
author | Lijun Pan <ljp@linux.ibm.com> | 2021-01-27 19:34:42 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-10 09:09:23 +0100 |
commit | 9d54b998870b9d6b856065b7dabed3f84286ec72 (patch) | |
tree | d236927ff03d74b82626eb690af8ec87fb8d1d36 /kernel/locking/rtmutex-debug.c | |
parent | 78dcc1b1712a81a689597b6f9e4602078f0790fb (diff) |
ibmvnic: Ensure that CRQ entry read are correctly ordered
commit e41aec79e62fa50f940cf222d1e9577f14e149dc upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions