Thread (13 messages) 13 messages, 2 authors, 2025-05-21

Re: [PATCH net-next v5 3/5] vsock/test: Introduce vsock_wait_sent() helper

From: Michal Luczaj <hidden>
Date: 2025-05-21 23:07:02
Also in: kvm, lkml, virtualization

On 5/21/25 17:01, Stefano Garzarella wrote:
On Wed, May 21, 2025 at 12:55:21AM +0200, Michal Luczaj wrote:
quoted
...
+/* Wait until transport reports no data left to be sent.
+ * Return non-zero if transport does not implement the unsent_bytes() callback.
+ */
+int vsock_wait_sent(int fd)
nit: I just see we use `bool` in the test to store the result of this 
function, so maybe we can return `bool` directl from here...

(not a strong opinion, it's fine also this).
Yeah, why not, let's do bool.

Thanks,
Michal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help