From: Roger Pau Monne Date: Sat, 22 Jun 2013 07:59:17 +0000 (+0200) Subject: xen-blkback: check the number of iovecs before allocating a bios X-Git-Tag: v3.11-rc3~32^2~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e0f7a21b2fffc70f27cc4a454c60321501045b1;p=pandora-kernel.git 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é Cc: Konrad Rzeszutek Wilk Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed