Commit 88c07dff authored by Kexin Sun's avatar Kexin Sun Committed by Paolo Abeni
Browse files

hv_sock: update outdated comment for renamed vsock_stream_recvmsg()



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

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: default avatarKexin Sun <kexinsun@smail.nju.edu.cn>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260321105753.6751-1-kexinsun@smail.nju.edu.cn


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent b50a48b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;