[SCSI] fnic: lport stats need to be initialized in fnic_probe()
authorVenkata Siva Vijayendra Bhamidipati <vbhamidi@cisco.com>
Tue, 16 Feb 2010 20:15:50 +0000 (12:15 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 17 Feb 2010 23:43:52 +0000 (17:43 -0600)
commitc693a71d2556128ef0b5b2440f0b579cd42c425d
treef168a845b4ef7d52adb147ac47f2eda1e420bee8
parentaaa5e569ca96f5cf70202679a5864e60798b8ef6
[SCSI] fnic: lport stats need to be initialized in fnic_probe()

Incorrect initialization of lport stats in fnic_probe() causes fnic to
crash at bootup and a node hang if fip is enabled and all links are brought
up after fnic is loaded.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Venkata Siva Vijayendra Bhamidipati <vbhamidi@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fnic/fnic_main.c