Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ia2e29b4776c0f8df666da39a14c5ef2fa1693c21
* retransmissions since we may not have any data to send */
if (seq_leq (vnet_buffer (b)->tcp.seq_end, tc->rcv_nxt))
{
* retransmissions since we may not have any data to send */
if (seq_leq (vnet_buffer (b)->tcp.seq_end, tc->rcv_nxt))
{
+ tcp_program_dupack (tc);
+ tc->errors.below_data_wnd++;
error = TCP_ERROR_SEGMENT_OLD;
goto done;
}
error = TCP_ERROR_SEGMENT_OLD;
goto done;
}
if (!vec_len (tc->snd_sacks))
{
tcp_send_ack (tc);
if (!vec_len (tc->snd_sacks))
{
tcp_send_ack (tc);
tc->pending_dupacks = 0;
return 1;
}
tc->pending_dupacks = 0;
return 1;
}