Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181359
b: refs/heads/master
c: be88d3b
h: refs/heads/master
i:
  181357: ff906f6
  181355: df6b9c0
  181351: 9fa64ab
  181343: 9d52d6c
v: v3
  • Loading branch information
Vasu Dev authored and James Bottomley committed Feb 17, 2010
1 parent f4eae85 commit d641dd6
Show file tree
Hide file tree
Showing 3 changed files with 2 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: 5fceef1f357e1b3485363e6e240369fc8cbee173
refs/heads/master: be88d3b26897e3e942f2f36ad3d0ffbe002c0088
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/libfc/fc_exch.c
Original file line number Diff line number Diff line change
Expand Up @@ -1890,7 +1890,7 @@ static struct fc_seq *fc_exch_seq_send(struct fc_lport *lport,
fc_exch_setup_hdr(ep, fp, ep->f_ctl);
sp->cnt++;

if (ep->xid <= lport->lro_xid)
if (ep->xid <= lport->lro_xid && fh->fh_r_ctl == FC_RCTL_DD_UNSOL_CMD)
fc_fcp_ddp_setup(fr_fsp(fp), ep->xid);

if (unlikely(lport->tt.frame_send(lport, fp)))
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/scsi/libfc/fc_fcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,6 @@ void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid)
{
struct fc_lport *lport;

if (!fsp)
return;

lport = fsp->lp;
if ((fsp->req_flags & FC_SRB_READ) &&
(lport->lro_enabled) && (lport->tt.ddp_setup)) {
Expand Down

0 comments on commit d641dd6

Please sign in to comment.