From d8fe3436df256ce48d953dc342ac114e6e368476 Mon Sep 17 00:00:00 2001 From: Rajesh Borundia Date: Tue, 2 Apr 2013 05:34:40 +0000 Subject: [PATCH] qlcnic: Fix potential NULL dereference [net-next:master 301/302] drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c:563 qlcnic_set_multi() error: potential null dereference 'cur'. (kzalloc returns null) o Break out of the loop after memory allocation failure. Program all the MAC addresses that were cached in the return path. Reported-by: kbuild test robot Signed-off-by: Rajesh Borundia Signed-off-by: David S. Miller --- Reading git-format-patch failed