Re: [PATCH] staging: batman-adv: check kmalloc() return value

From: Marek Lindner
Date: Sun Sep 12 2010 - 15:58:48 EST


On Sunday 12 September 2010 20:56:26 Vasiliy Kulikov wrote:
> kmalloc() may fail, if so drop current packet.
>
> Signed-off-by: Vasiliy Kulikov <segooon@xxxxxxxxx>

Looks good to me. Added this patch to our repos.

Thanks,
Marek
--
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/