diff options
author | Karen Xie <kxie@chelsio.com> | 2012-06-28 19:49:07 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-07-20 03:58:42 -0400 |
commit | 6aca4112f67b67d0a2f60326a1331a4125564ca7 (patch) | |
tree | 1cc103645d70c04bb278b513d904fb2e2ae006ad /drivers/scsi/cxgbi | |
parent | b485462aca7df4e32bcf7efb6f84a69e8b640243 (diff) |
[SCSI] cxgb4i: tcp push bit fix
Fixed the parentheses so the tcp push bit would be sent properly.
Signed-off-by: Karen Xie <kxie@chelsio.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/cxgbi')
-rw-r--r-- | drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c index 5a4a3bfc60cf..a12a1fe9cda4 100644 --- a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c +++ b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | |||
@@ -438,8 +438,8 @@ static inline void make_tx_data_wr(struct cxgbi_sock *csk, struct sk_buff *skb, | |||
438 | if (submode) | 438 | if (submode) |
439 | wr_ulp_mode = FW_OFLD_TX_DATA_WR_ULPMODE(ULP2_MODE_ISCSI) | | 439 | wr_ulp_mode = FW_OFLD_TX_DATA_WR_ULPMODE(ULP2_MODE_ISCSI) | |
440 | FW_OFLD_TX_DATA_WR_ULPSUBMODE(submode); | 440 | FW_OFLD_TX_DATA_WR_ULPSUBMODE(submode); |
441 | req->tunnel_to_proxy = htonl(wr_ulp_mode) | | 441 | req->tunnel_to_proxy = htonl(wr_ulp_mode | |
442 | FW_OFLD_TX_DATA_WR_SHOVE(skb_peek(&csk->write_queue) ? 0 : 1); | 442 | FW_OFLD_TX_DATA_WR_SHOVE(skb_peek(&csk->write_queue) ? 0 : 1)); |
443 | req->plen = htonl(len); | 443 | req->plen = htonl(len); |
444 | if (!cxgbi_sock_flag(csk, CTPF_TX_DATA_SENT)) | 444 | if (!cxgbi_sock_flag(csk, CTPF_TX_DATA_SENT)) |
445 | cxgbi_sock_set_flag(csk, CTPF_TX_DATA_SENT); | 445 | cxgbi_sock_set_flag(csk, CTPF_TX_DATA_SENT); |