diff options
author | David Vrabel <david.vrabel@citrix.com> | 2015-11-16 19:02:32 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2015-12-18 16:00:41 +0100 |
commit | be69746ec12f35b484707da505c6c76ff06f97dc (patch) | |
tree | 2cb9529b55a599d28327eca9ef5f92f529d6fd08 /arch | |
parent | xen-blkback: read from indirect descriptors only once (diff) | |
download | linux-be69746ec12f35b484707da505c6c76ff06f97dc.tar.xz linux-be69746ec12f35b484707da505c6c76ff06f97dc.zip |
xen-scsiback: safely copy requests
The copy of the ring request was lacking a following barrier(),
potentially allowing the compiler to optimize the copy away.
Use RING_COPY_REQUEST() to ensure the request is copied to local
memory.
This is part of XSA155.
CC: stable@vger.kernel.org
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions