On Mon, 13 Dec 2010, Hank Janssen wrote:

> Correct issue with not checking kmalloc return value.
> This fix now only uses one receive buffer for all hv_utils 
> channels, and will do only one kmalloc on init and will return
> with a -ENOMEM if kmalloc fails on initialize.
> 
> And properly clean up memory on failure.
> 
> Thanks to Evgeniy Polyakov <[email protected]> for pointing this out.
> And thanks to Jesper Juhl <[email protected]> and Ky Srinivasan 
> <[email protected]> for suggesting a better implementation of
> my original patch.
> 
> Signed-off-by: Haiyang Zhang <[email protected]>
> Signed-off-by: Hank Janssen <[email protected]>
> Cc: Evgeniy Polyakov <[email protected]>
> Cc: Jesper Juhl <[email protected]>
> Cc: Ky Srinivasan <[email protected]>
> 

I can't spot any problems with these changes now, so feel free to add
  Reviewed-by: Jesper Juhl <[email protected]>
if you like.


-- 
Jesper Juhl <[email protected]>            http://www.chaosbits.net/
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please.

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/virtualization

Reply via email to