Thread (3 messages) 3 messages, 2 authors, 2025-07-01

RE: [EXTERNAL] Re: [PATCH] hv_sock: Return the readable bytes in hvs_stream_has_data()

From: Dexuan Cui <decui@microsoft.com>
Date: 2025-07-01 18:37:04
Also in: lkml, netdev, virtualization

From: Paolo Abeni <pabeni@redhat.com>
Sent: Tuesday, July 1, 2025 6:05 AM
...
quoted
 static s64 hvs_stream_has_data(struct vsock_sock *vsk)
 {
 	struct hvsock *hvs = vsk->trans;
+	bool need_refill = !hvs->recv_desc;
 	s64 ret;
Minor nit: when reposting please respect the reverse christmas tree
order above moving 'need_refill' initialization after the following 'if'
statement.

/P
Thanks! Will do.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help