diff options
author | David Vrabel <[email protected]> | 2015-10-30 15:17:06 +0000 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2015-12-18 10:00:28 -0500 |
commit | 68a33bfd8403e4e22847165d149823a2e0e67c9c (patch) | |
tree | 3ac05cf368a2e54f8f58c9c2e31c524203f2e4a2 /net/lapb/lapb_in.c | |
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: [email protected]
Reviewed-by: Wei Liu <[email protected]>
Signed-off-by: David Vrabel <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions