diff options
author | 2016-12-07 17:31:26 -0600 | |
---|---|---|
committer | 2016-12-08 17:04:25 -0500 | |
commit | b39205d248b9c3ce0548859ed786badb2e0db0bd (patch) | |
tree | c3b9fce151e5c5029497a7c5ff45144927e86390 /net/unix/af_unix.c | |
parent | scsi: ibmvscsi: log bad SRP response opcode in hex format (diff) | |
download | wireguard-linux-b39205d248b9c3ce0548859ed786badb2e0db0bd.tar.xz wireguard-linux-b39205d248b9c3ce0548859ed786badb2e0db0bd.zip |
scsi: ibmvscsi: add write memory barrier to CRQ processing
The first byte of each CRQ entry is used to indicate whether an entry is
a valid response or free for the VIOS to use. After processing a
response the driver sets the valid byte to zero to indicate the entry is
now free to be reused. Add a memory barrier after this write to ensure
no other stores are reordered when updating the valid byte.
Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions