]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
hv_sock: update outdated comment for renamed vsock_stream_recvmsg()
authorKexin Sun <kexinsun@smail.nju.edu.cn>
Sat, 21 Mar 2026 10:57:53 +0000 (18:57 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 24 Mar 2026 12:16:58 +0000 (13:16 +0100)
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>
net/vmw_vsock/hyperv_transport.c

index 069386a7455795d13367aae4f1f059111417dc78..2b7c0b5896ed091d8cf4fa985ee53fd483a19bda 100644 (file)
@@ -196,7 +196,7 @@ static int hvs_channel_readable_payload(struct vmbus_channel *chan)
 
        if (readable > HVS_PKT_LEN(0)) {
                /* At least we have 1 byte to read. We don't need to return
-                * the exact readable bytes: see vsock_stream_recvmsg() ->
+                * the exact readable bytes: see vsock_connectible_recvmsg() ->
                 * vsock_stream_has_data().
                 */
                return 1;