Commit b2b1d52
committed
scsi: iscsi: Fix redundant response for ISCSI_UEVENT_GET_HOST_STATS request
JIRA: https://issues.redhat.com/browse/RHEL-90552
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: Xiang Zhang <hawkxiang.cpp@gmail.com>
Link: https://lore.kernel.org/r/20250107022432.65390-1-hawkxiang.cpp@gmail.com
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 63ca022)
Signed-off-by: Chris Leech <cleech@redhat.com>1 parent 6ee269a commit b2b1d52
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4077 | 4077 | | |
4078 | 4078 | | |
4079 | 4079 | | |
4080 | | - | |
| 4080 | + | |
4081 | 4081 | | |
4082 | 4082 | | |
4083 | 4083 | | |
| |||
4086 | 4086 | | |
4087 | 4087 | | |
4088 | 4088 | | |
| 4089 | + | |
| 4090 | + | |
4089 | 4091 | | |
4090 | 4092 | | |
4091 | 4093 | | |
| |||
0 commit comments