Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

hv_sock: update outdated comment for renamed vsock_stream_recvmsg()

The function vsock_stream_recvmsg() was renamed to
vsock_connectible_recvmsg() by commit a9e29e5511b9 ("af_vsock:
update functions for connectible socket"). Update the comment
accordingly.

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260321105753.6751-1-kexinsun@smail.nju.edu.cn
Signed-off-by: Paolo Abeni <pabeni@redhat.com>

authored by

Kexin Sun and committed by
Paolo Abeni
88c07dff b50a48b6

+1 -1
+1 -1
net/vmw_vsock/hyperv_transport.c
··· 196 196 197 197 if (readable > HVS_PKT_LEN(0)) { 198 198 /* At least we have 1 byte to read. We don't need to return 199 - * the exact readable bytes: see vsock_stream_recvmsg() -> 199 + * the exact readable bytes: see vsock_connectible_recvmsg() -> 200 200 * vsock_stream_has_data(). 201 201 */ 202 202 return 1;