diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-09-18 11:53:07 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-09-18 17:14:55 +0200 |
commit | bb41901c719f9ba422b538f773025dad5c398823 (patch) | |
tree | f3b750494916c4d2a74405f08f6d1a03df1112b6 /tcp_buf.c | |
parent | 265b2099c7715a3432eef00acd1faea7cbc1eb25 (diff) | |
download | passt-bb41901c719f9ba422b538f773025dad5c398823.tar passt-bb41901c719f9ba422b538f773025dad5c398823.tar.gz passt-bb41901c719f9ba422b538f773025dad5c398823.tar.bz2 passt-bb41901c719f9ba422b538f773025dad5c398823.tar.lz passt-bb41901c719f9ba422b538f773025dad5c398823.tar.xz passt-bb41901c719f9ba422b538f773025dad5c398823.tar.zst passt-bb41901c719f9ba422b538f773025dad5c398823.zip |
tcp: Make tcp_update_seqack_wnd()s force_seq parameter explicitly boolean
This parameter is already treated as a boolean internally. Make it a
'bool' type for clarity.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp_buf.c')
-rw-r--r-- | tcp_buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -511,7 +511,7 @@ int tcp_buf_data_from_sock(const struct ctx *c, struct tcp_tap_conn *conn) last_len = sendlen - (send_bufs - 1) * mss; /* Likely, some new data was acked too. */ - tcp_update_seqack_wnd(c, conn, 0, NULL); + tcp_update_seqack_wnd(c, conn, false, NULL); /* Finally, queue to tap */ dlen = mss; |