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 <[email protected]>
---
 net/vmw_vsock/hyperv_transport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/vmw_vsock/hyperv_transport.c b/net/vmw_vsock/hyperv_transport.c
index 069386a74557..2b7c0b5896ed 100644
--- a/net/vmw_vsock/hyperv_transport.c
+++ b/net/vmw_vsock/hyperv_transport.c
@@ -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;
-- 
2.25.1


Reply via email to