linux/drivers/net/xen-netback
David Vrabel 68a33bfd84 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>
2015-12-18 10:00:28 -05:00
..
common.h net/xen-netback: Make it running on 64KB page granularity 2015-10-23 14:20:41 +01:00
interface.c xen-netback: add support for multicast control 2015-09-02 11:45:00 -07:00
Makefile
netback.c xen-netback: use RING_COPY_REQUEST() throughout 2015-12-18 10:00:28 -05:00
xenbus.c xen-netback: add support for multicast control 2015-09-02 11:45:00 -07:00