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

Re: [linux-lvm] Function clone_bio



On Wed, Nov 28, 2007 at 10:25:57AM -0500, Sumit Narayan wrote:
> There is a possibility of NULL being returned from bio_alloc_bioset. 
> Although unlikely, it could crash the kernel.
 
If that function can ever return NULL, then it's a bug in the function.

If there's not enough memory available immediately, it's supposed to delay
returning until there is.

Alasdair
-- 
agk redhat com


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