tcp: Fix comment to tcp_sock_consume()

Note that tcp_sock_consume() doesn't update ACK sequence counters
anymore.

Fixes: cc6d8286d1 ("tcp: Reset ACK_FROM_TAP_DUE flag only as needed, update timer")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
Stefano Brivio 2023-09-22 23:08:29 +02:00
parent 117b474f85
commit feaeb4986c

2
tcp.c
View file

@ -2099,7 +2099,7 @@ static void tcp_conn_from_tap(struct ctx *c,
} }
/** /**
* tcp_sock_consume() - Consume (discard) data from buffer, update ACK sequence * tcp_sock_consume() - Consume (discard) data from buffer
* @conn: Connection pointer * @conn: Connection pointer
* @ack_seq: ACK sequence, host order * @ack_seq: ACK sequence, host order
* *