summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
diff options
context:
space:
mode:
authorRajesh Borundia <rajesh.borundia@qlogic.com>2013-04-02 09:34:40 +0400
committerDavid S. Miller <davem@davemloft.net>2013-04-02 22:27:10 +0400
commitd8fe3436df256ce48d953dc342ac114e6e368476 (patch)
treeb73b1655eab9daec6c804bc16249da77f24aaa92 /drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
parent8466563e16d5198b6efeb3b51791b95b6aaacb6b (diff)
downloadlinux-d8fe3436df256ce48d953dc342ac114e6e368476.tar.xz
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 <fengguang.wu@intel.com> Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c')
0 files changed, 0 insertions, 0 deletions