[PATCH 1/1] Properly check return values of kmalloc and vmbus_recvpacket

2010-12-09 Thread Hank Janssen
Correct ugly oversight, we need to check the return values of kmalloc and vmbus_recvpacket and return if they fail. I also tightened up the call to kmalloc. Thanks to Evgeniy Polyakov z...@ioremap.net for pointing this out. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Signed-off-by:

Re: [PATCH 1/1] Properly check return values of kmalloc and vmbus_recvpacket

2010-12-09 Thread Ky Srinivasan
On 12/9/2010 at 3:23 PM, in message 1291926209-17120-1-git-send-email-hjans...@microsoft.com, Hank Janssen hjans...@microsoft.com wrote: Correct ugly oversight, we need to check the return values of kmalloc and vmbus_recvpacket and return if they fail. I also tightened up the call to