diff options
author | David Vrabel <david.vrabel@citrix.com> | 2015-10-30 15:17:06 +0000 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2015-12-18 10:00:28 -0500 |
commit | 68a33bfd8403e4e22847165d149823a2e0e67c9c (patch) | |
tree | 3ac05cf368a2e54f8f58c9c2e31c524203f2e4a2 /drivers/amba | |
parent | 0f589967a73f1f30ab4ac4dd9ce0bb399b4d6357 (diff) |
xen-netback: use RING_COPY_REQUEST() throughout
Instead of open-coding memcpy()s and directly accessing Tx and Rx
requests, use the new RING_COPY_REQUEST() that ensures the local copy
is correct.
This is more than is strictly necessary for guest Rx requests since
only the id and gref fields are used and it is harmless if the
frontend modifies these.
This is part of XSA155.
CC: stable@vger.kernel.org
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions