Commit 516a6486 authored by Bhanu Prakash Gollapudi's avatar Bhanu Prakash Gollapudi Committed by James Bottomley

[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: default avatarBhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: default avatarRobert Love <robert.w.love@intel.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 1508f3ec
...@@ -1232,8 +1232,11 @@ static void fcoe_ctlr_timer_work(struct work_struct *work) ...@@ -1232,8 +1232,11 @@ static void fcoe_ctlr_timer_work(struct work_struct *work)
fip->reset_req = 0; fip->reset_req = 0;
spin_unlock_bh(&fip->lock); spin_unlock_bh(&fip->lock);
if (reset) if (reset) {
fc_lport_reset(fip->lp); fc_lport_reset(fip->lp);
/* restart things with a solicitation */
fcoe_ctlr_solicit(fip, NULL);
}
if (fip->send_ctlr_ka) { if (fip->send_ctlr_ka) {
fip->send_ctlr_ka = 0; fip->send_ctlr_ka = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment