aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-09-22 23:08:29 +0200
committerStefano Brivio <sbrivio@redhat.com>2023-10-04 23:24:08 +0200
commitfeaeb4986c1143f39cd71cd88de6f2e5280beecc (patch)
tree7f84c81fdf7ae2324d69b70d57753c02d78e4732
parent117b474f85f2b73278b2aa8930f1e3aa2b418373 (diff)
downloadpasst-feaeb4986c1143f39cd71cd88de6f2e5280beecc.tar
passt-feaeb4986c1143f39cd71cd88de6f2e5280beecc.tar.gz
passt-feaeb4986c1143f39cd71cd88de6f2e5280beecc.tar.bz2
passt-feaeb4986c1143f39cd71cd88de6f2e5280beecc.tar.lz
passt-feaeb4986c1143f39cd71cd88de6f2e5280beecc.tar.xz
passt-feaeb4986c1143f39cd71cd88de6f2e5280beecc.tar.zst
passt-feaeb4986c1143f39cd71cd88de6f2e5280beecc.zip
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 <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--tcp.c2
1 files changed, 1 insertions, 1 deletions
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
*