kernel-hacking-2024-linux-s.../drivers/block/xen-blkback
Roger Pau Monne 1e0f7a21b2 xen-blkback: check the number of iovecs before allocating a bios
With the introduction of indirect segments we can receive requests
with a number of segments bigger than the maximum number of allowed
iovecs in a bios, so make sure that blkback doesn't try to allocate a
bios with more iovecs than BIO_MAX_PAGES

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2013-06-25 10:00:58 -04:00
..
blkback.c xen-blkback: check the number of iovecs before allocating a bios 2013-06-25 10:00:58 -04:00
common.h xen/blkback: Check for insane amounts of request on the ring (v6). 2013-06-17 15:17:16 -04:00
Makefile
xenbus.c xen/blkback: Check for insane amounts of request on the ring (v6). 2013-06-17 15:17:16 -04:00