Re: [PATCH v3] scsi: iscsi: Fix redundant response for ISCSI_UEVENT_GET_HOST_STATS request
From: michael . christie
Date: Tue Jan 07 2025 - 20:49:21 EST
On 1/6/25 8:24 PM, Xiang Zhang wrote:
> The ISCSI_UEVENT_GET_HOST_STATS request is already replied to
> iscsid 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: Xiang Zhang <hawkxiang.cpp@xxxxxxxxx>
Thanks for fixing this.
Reviewed-by: Mike Christie <michael.christie@xxxxxxxxxx>