From feaeb4986c1143f39cd71cd88de6f2e5280beecc Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Fri, 22 Sep 2023 23:08:29 +0200 Subject: tcp: Fix comment to tcp_sock_consume() Note that tcp_sock_consume() doesn't update ACK sequence counters anymore. Fixes: cc6d8286d104 ("tcp: Reset ACK_FROM_TAP_DUE flag only as needed, update timer") Signed-off-by: Stefano Brivio Reviewed-by: David Gibson --- tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcp.c') diff --git a/tcp.c b/tcp.c index a9a6f2a..cb93ba3 100644 --- a/tcp.c +++ b/tcp.c @@ -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 * @ack_seq: ACK sequence, host order * -- cgit v1.2.3