Staging: batman-adv: check kmalloc() return value
kmalloc() may fail, if so drop current packet. Signed-off-by: NVasiliy Kulikov <segooon@gmail.com> Signed-off-by: NMarek Lindner <lindner_marek@yahoo.de> [sven.eckelmann@gmx.de: Removed new introduced deadlock] Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录