Re: [PATCH] Check kmalloc return value before use the buffer

From: Nigel Cunningham
Date: Fri May 07 2010 - 05:52:38 EST


Hi.

On 07/05/10 19:50, Steven Liu wrote:
Check kmalloc return value before use the bigrxbuf_virtual ,when
bigrxbuf_virtual is NULL, kfree bigtxbuf_virtual

Ta :)

Nigel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/