diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2010-06-11 19:43:44 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 13:01:44 -0400 |
commit | 516a648631c912e84e0035590f98eef1d716f4ea (patch) | |
tree | c5318ca76eb881cbdb4a6e2d01d039b2d47648ef /drivers/scsi/fcoe | |
parent | 1508f3ecd991ecbf272e08f5ee70d2618f49159e (diff) |
[SCSI] libfcoe: No solicitation if adv is dropped
Host does not send discovery solicitation messages if Disc. Adv
from FCF are dropped. It restarts sending solicitation only
after receiving a Discovery Adv. from FCF. Fix is to restart
solicitation immediately after CVL processing.
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/fcoe')
-rw-r--r-- | drivers/scsi/fcoe/libfcoe.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/scsi/fcoe/libfcoe.c b/drivers/scsi/fcoe/libfcoe.c index 66120f135d99..1d5b949d4fd0 100644 --- a/drivers/scsi/fcoe/libfcoe.c +++ b/drivers/scsi/fcoe/libfcoe.c | |||
@@ -1232,8 +1232,11 @@ static void fcoe_ctlr_timer_work(struct work_struct *work) | |||
1232 | fip->reset_req = 0; | 1232 | fip->reset_req = 0; |
1233 | spin_unlock_bh(&fip->lock); | 1233 | spin_unlock_bh(&fip->lock); |
1234 | 1234 | ||
1235 | if (reset) | 1235 | if (reset) { |
1236 | fc_lport_reset(fip->lp); | 1236 | fc_lport_reset(fip->lp); |
1237 | /* restart things with a solicitation */ | ||
1238 | fcoe_ctlr_solicit(fip, NULL); | ||
1239 | } | ||
1237 | 1240 | ||
1238 | if (fip->send_ctlr_ka) { | 1241 | if (fip->send_ctlr_ka) { |
1239 | fip->send_ctlr_ka = 0; | 1242 | fip->send_ctlr_ka = 0; |