linux_dsm_epyc7002/drivers/net/xen-netback
Ross Lagerwall 2475b22526 xen-netback: Allocate fraglist early to avoid complex rollback
Determine if a fraglist is needed in the tx path, and allocate it if
necessary before setting up the copy and map operations.
Otherwise, undoing the copy and map operations is tricky.

This fixes a use-after-free: if allocating the fraglist failed, the copy
and map operations that had been set up were still executed, writing
over the data area of a freed skb.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-03 22:23:03 -07:00
..
common.h xen-netback: making the bandwidth limiter runtime settable 2015-03-20 12:55:15 -04:00
interface.c xen-netback: making the bandwidth limiter runtime settable 2015-03-20 12:55:15 -04:00
Makefile
netback.c xen-netback: Allocate fraglist early to avoid complex rollback 2015-08-03 22:23:03 -07:00
xenbus.c xen-netback: fix a BUG() during initialization 2015-06-23 03:34:02 -07:00