- /* If we have outstanding data and this is within the window, accept it,
- * probably retransmit has timed out. Otherwise ACK segment and then
- * drop it */
- if (seq_gt (vnet_buffer (b)->tcp.ack_number, tc->snd_una_max))
- {
- tcp_program_ack (wrk, tc);
- *error = TCP_ERROR_ACK_FUTURE;
- TCP_EVT_DBG (TCP_EVT_ACK_RCV_ERR, tc, 0,
- vnet_buffer (b)->tcp.ack_number);
- return -1;
- }
-
- TCP_EVT_DBG (TCP_EVT_ACK_RCV_ERR, tc, 2,
+ *error = TCP_ERROR_ACK_FUTURE;
+ TCP_EVT_DBG (TCP_EVT_ACK_RCV_ERR, tc, 0,