Skip to content
Snippets Groups Projects
Commit 773a0195 authored by Xiang Zhang's avatar Xiang Zhang Committed by Frieder Schrempf
Browse files

scsi: iscsi: Fix redundant response for ISCSI_UEVENT_GET_HOST_STATS request


[ Upstream commit 63ca02221cc5aa0731fe2b0cc28158aaa4b84982 ]

The ISCSI_UEVENT_GET_HOST_STATS request is already handled in
iscsi_get_host_stats(). This fix ensures that redundant responses are
skipped in iscsi_if_rx().

 - On success: send reply and stats from iscsi_get_host_stats()
   within if_recv_msg().

 - On error: fall through.

Signed-off-by: default avatarXiang Zhang <hawkxiang.cpp@gmail.com>
Link: https://lore.kernel.org/r/20250107022432.65390-1-hawkxiang.cpp@gmail.com


Reviewed-by: default avatarMike Christie <michael.christie@oracle.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 579c019b
No related branches found
No related tags found
1 merge request!184🤖 Sync Bot: Update v6.1-ktn to Latest Stable Kernel (v6.1.128)
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment