]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sctp/output.c
select: deal with math overflow from borderline valid userland data
[linux-2.6-omap-h63xx.git] / net / sctp / output.c
index 225c7123c41f8b2dfa3a629b7bb8590133ab146e..c3f417f7ec6e8d305ae3e50ef7aa15fd33170080 100644 (file)
@@ -699,7 +699,7 @@ static sctp_xmit_t sctp_packet_append_data(struct sctp_packet *packet,
         *    When a Fast Retransmit is being performed the sender SHOULD
         *    ignore the value of cwnd and SHOULD NOT delay retransmission.
         */
-       if (chunk->fast_retransmit <= 0)
+       if (chunk->fast_retransmit != SCTP_NEED_FRTX)
                if (transport->flight_size >= transport->cwnd) {
                        retval = SCTP_XMIT_RWND_FULL;
                        goto finish;