]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfcoe: FIP link keep-alive should continue while logged off
authorJoe Eykholt <jeykholt@cisco.com>
Fri, 11 Jun 2010 23:43:33 +0000 (16:43 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:01:43 +0000 (12:01 -0500)
commit05a1229df15fca08aeb09f18a83305f0a583482e
treea630626d5c8542278437356c9c521178d302c13e
parent67ebdc70cfb708293616f1bc687dab50dfc935cf
[SCSI] libfcoe: FIP link keep-alive should continue while logged off

A check in fcoe_ctlr_send_keep_alive() returns if there's no
port_id for the local port.  This could miss a keep alive if
we just did a host reset and have logged off and will log back in.

Return only if we are doing the port keep alive, in which case
we need to be logged in.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/libfcoe.c