]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Fix NULL pointer dereference in VF probe path.
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Fri, 19 Jul 2013 20:56:28 +0000 (16:56 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Jul 2013 00:08:16 +0000 (17:08 -0700)
commit6942a3f5ffc343791dd1dcf1e0e256e9f0418230
tree588a3554475da0ebc1b1c477d71cfb6de1b65bce
parentc5a4bf7968f11d2b1d3966cf879729a59e506896
qlcnic: Fix NULL pointer dereference in VF probe path.

o Check for non-NULL set_mac_filter_count function pointer
  before calling it fixes the panic.

This patch fixes regression introduced by patch
"qlcnic: Secondary unicast MAC address support." with
commit id 168e4fb54c11865668ad50eff81b5f2729e0e0f4.

Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h