igb: fix null pointer dereference seen with fiber NICs
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 4 Aug 2008 21:59:46 +0000 (14:59 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 7 Aug 2008 05:55:05 +0000 (01:55 -0400)
commitc743a87eabc50110ba5e473e707079c9b429779a
treeb6d2b6db296050c8ad86c8addc2c8ab1c38707bf
parent106ef2fef3778f4af2e0f796a108cc19c6114264
igb: fix null pointer dereference seen with fiber NICs

With a fiber or serdes NIC installed the driver was causing a null pointer
dereference on driver unload.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/igb/igb_main.c