]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
SDP bug644 - DisConn, ChRcvBuf, and ChRcvBufAck sent solicited
authorJim Mott <jim@mellanox.com>
Tue, 23 Oct 2007 17:50:39 +0000 (10:50 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:04:09 +0000 (05:04 -0700)
This patch brings the implementation into compliance with A4.11.2 which
says that these messages are not to be sent as solicited.

Signed-off-by: Jim Mott <jim@mellanox.com>
drivers/infiniband/ulp/sdp/sdp_bcopy.c

index 0ae8ec29cbe9be24303acd38834891347ebc0108..e8e4673bffab84703ae257fe058b2c742511a638 100644 (file)
@@ -194,8 +194,7 @@ void sdp_post_send(struct sdp_sock *ssk, struct sk_buff *skb, u8 mid)
        ssk->tx_wr.num_sge = frags + 1;
        ssk->tx_wr.opcode = IB_WR_SEND;
        ssk->tx_wr.send_flags = IB_SEND_SIGNALED;
-       if (unlikely(mid != SDP_MID_DATA) ||
-           unlikely(TCP_SKB_CB(skb)->flags & TCPCB_URG))
+       if (unlikely(TCP_SKB_CB(skb)->flags & TCPCB_URG))
                ssk->tx_wr.send_flags |= IB_SEND_SOLICITED;
        rc = ib_post_send(ssk->qp, &ssk->tx_wr, &bad_wr);
        ++ssk->tx_head;