Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180681
b: refs/heads/master
c: 10897ae
h: refs/heads/master
i:
  180679: 268aa64
v: v3
  • Loading branch information
Vasu Dev authored and James Bottomley committed Feb 17, 2010
1 parent 8a870e8 commit ca8751c
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: fee099b278894a1c7383a08cb3c62a5b62a134e8
refs/heads/master: 10897ae71dd6e205969726e0f817f3327ef32f83
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 ca8751c

Please sign in to comment.