]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Make BP_VF more robust
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Sun, 17 Aug 2014 13:47:50 +0000 (16:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Aug 2014 19:31:16 +0000 (12:31 -0700)
commit371035f467c12409cfd75ffd7e1db75e9c93abfc
tree8b0e7cc2456160bd38d9d6269b7b5f7bff6c442c
parent015190313a28b32f746e246dd2f6b3be51687612
bnx2x: Make BP_VF more robust

Prevent dereference of pointer in case it's NULL.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h