|
@@ -411,8 +411,7 @@ void sctp_retransmit_mark(struct sctp_outq *q,
|
|
chunk->transport->flight_size -=
|
|
chunk->transport->flight_size -=
|
|
sctp_data_size(chunk);
|
|
sctp_data_size(chunk);
|
|
q->outstanding_bytes -= sctp_data_size(chunk);
|
|
q->outstanding_bytes -= sctp_data_size(chunk);
|
|
- q->asoc->peer.rwnd += (sctp_data_size(chunk) +
|
|
|
|
- sizeof(struct sk_buff));
|
|
|
|
|
|
+ q->asoc->peer.rwnd += sctp_data_size(chunk);
|
|
}
|
|
}
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
@@ -432,8 +431,7 @@ void sctp_retransmit_mark(struct sctp_outq *q,
|
|
* (Section 7.2.4)), add the data size of those
|
|
* (Section 7.2.4)), add the data size of those
|
|
* chunks to the rwnd.
|
|
* chunks to the rwnd.
|
|
*/
|
|
*/
|
|
- q->asoc->peer.rwnd += (sctp_data_size(chunk) +
|
|
|
|
- sizeof(struct sk_buff));
|
|
|
|
|
|
+ q->asoc->peer.rwnd += sctp_data_size(chunk);
|
|
q->outstanding_bytes -= sctp_data_size(chunk);
|
|
q->outstanding_bytes -= sctp_data_size(chunk);
|
|
if (chunk->transport)
|
|
if (chunk->transport)
|
|
transport->flight_size -= sctp_data_size(chunk);
|
|
transport->flight_size -= sctp_data_size(chunk);
|