Re: [PATCH] sunvdc: limit each sg segment to a page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Dwight Engen <dwight.engen@xxxxxxxxxx>
Date: Fri, 19 Sep 2014 09:42:53 -0400

> ldc_map_sg() could fail its check that the number of pages referred to
> by the sg scatterlist was <= the number of cookies.
> 
> This fixes the issue by doing a similar thing to the xen-blkfront driver,
> ensuring that the scatterlist will only ever contain a segment count <=
> port->ring_cookies, and each segment will be page aligned, and <= page
> size. This ensures that the scatterlist is always mappable.
> 
> Orabug: 19347817
> OraBZ: 15945
> 
> Signed-off-by: Dwight Engen <dwight.engen@xxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux