From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by passt.top (Postfix, from userid 1000) id B67755A0272; Fri, 29 Sep 2023 17:04:46 +0200 (CEST) From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH v2 1/3] tcp: Fix comment to tcp_sock_consume() Date: Fri, 29 Sep 2023 17:04:44 +0200 Message-Id: <20230929150446.2671959-2-sbrivio@redhat.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230929150446.2671959-1-sbrivio@redhat.com> References: <20230929150446.2671959-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 6M6LMP5QHXGWIAG6ADO2UDOB3ODIUCSX X-Message-ID-Hash: 6M6LMP5QHXGWIAG6ADO2UDOB3ODIUCSX X-MailFrom: sbrivio@passt.top X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson , Matej Hrica X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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(-) diff --git a/tcp.c b/tcp.c index 2933123..dff5e79 100644 --- a/tcp.c +++ b/tcp.c @@ -2103,7 +2103,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 * -- 2.39.2