[SCSI] libfcoe: fix lenient aging of FCF advertisements
authorJoe Eykholt <jeykholt@cisco.com>
Fri, 11 Jun 2010 23:44:10 +0000 (16:44 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:01:47 +0000 (12:01 -0500)
commit8690cb8359d8e9f8d7ca12791ef7ea32b709df8b
treef5b8d34c3d4648ec3435d98806382850b1902698
parentf8fc6c2c99b8085368119d6cf39b997255052826
[SCSI] libfcoe: fix lenient aging of FCF advertisements

[This patch has several improvements to the code in
the fip timers.  It hasn't been tested yet.
I'm sending it out for review.  Vasu, perhaps you can
merge this with your patch and test it together.]

The current code allows an advertisement to be used
even if it has been 3 times the FCF keep-alive
advertisement period (FKA) since one was received from
that FCF.  The spec. calls for 2.5 times FKA.

Fix this and make sure we detect missed keep-alives promptly.

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