Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195705
b: refs/heads/master
c: b3667f9
h: refs/heads/master
i:
  195703: 5c33aee
v: v3
  • Loading branch information
Joe Eykholt authored and James Bottomley committed May 17, 2010
1 parent bc0a4e5 commit 1ca377b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1af6208c8cef81e313ec2e64b44e783c3a11c13
refs/heads/master: b3667f9177359b0594e4f2cd5cc01115f8c7e2af
10 changes: 6 additions & 4 deletions trunk/drivers/scsi/libfc/fc_exch.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,7 @@ static enum fc_pf_rjt_reason fc_seq_lookup_recip(struct fc_lport *lport,
if (fc_sof_is_init(fr_sof(fp))) {
sp = &ep->seq;
sp->ssb_stat |= SSB_ST_RESP;
sp->id = fh->fh_seq_id;
} else {
sp = &ep->seq;
if (sp->id != fh->fh_seq_id) {
Expand Down Expand Up @@ -1322,11 +1323,12 @@ static void fc_exch_recv_seq_resp(struct fc_exch_mgr *mp, struct fc_frame *fp)
}
sof = fr_sof(fp);
sp = &ep->seq;
if (fc_sof_is_init(sof))
if (fc_sof_is_init(sof)) {
sp->ssb_stat |= SSB_ST_RESP;
else if (sp->id != fh->fh_seq_id) {
atomic_inc(&mp->stats.seq_not_found);
goto rel;
sp->id = fh->fh_seq_id;
} else if (sp->id != fh->fh_seq_id) {
atomic_inc(&mp->stats.seq_not_found);
goto rel;
}

f_ctl = ntoh24(fh->fh_f_ctl);
Expand Down

0 comments on commit 1ca377b

Please sign in to comment.