equal
deleted
inserted
replaced
927 if (!list_empty(&q->retransmit)) |
927 if (!list_empty(&q->retransmit)) |
928 goto sctp_flush_out; |
928 goto sctp_flush_out; |
929 } |
929 } |
930 |
930 |
931 /* Finally, transmit new packets. */ |
931 /* Finally, transmit new packets. */ |
932 start_timer = 0; |
|
933 while ((chunk = sctp_outq_dequeue_data(q)) != NULL) { |
932 while ((chunk = sctp_outq_dequeue_data(q)) != NULL) { |
934 /* RFC 2960 6.5 Every DATA chunk MUST carry a valid |
933 /* RFC 2960 6.5 Every DATA chunk MUST carry a valid |
935 * stream identifier. |
934 * stream identifier. |
936 */ |
935 */ |
937 if (chunk->sinfo.sinfo_stream >= |
936 if (chunk->sinfo.sinfo_stream >= |
1026 * like a lost TSN? |
1025 * like a lost TSN? |
1027 */ |
1026 */ |
1028 list_add_tail(&chunk->transmitted_list, |
1027 list_add_tail(&chunk->transmitted_list, |
1029 &transport->transmitted); |
1028 &transport->transmitted); |
1030 |
1029 |
1031 sctp_transport_reset_timers(transport, start_timer-1); |
1030 sctp_transport_reset_timers(transport, 0); |
1032 |
1031 |
1033 q->empty = 0; |
1032 q->empty = 0; |
1034 |
1033 |
1035 /* Only let one DATA chunk get bundled with a |
1034 /* Only let one DATA chunk get bundled with a |
1036 * COOKIE-ECHO chunk. |
1035 * COOKIE-ECHO chunk. |