Commit 50bfbb8
scsi: iscsi: Fix redundant response for ISCSI_UEVENT_GET_HOST_STATS request
BugLink: https://bugs.launchpad.net/bugs/2098441
[ Upstream commit 63ca022 ]
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Noah Wager <[email protected]>
Signed-off-by: Koichiro Den <[email protected]>1 parent b6b3c77 commit 50bfbb8
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4124 | 4124 | | |
4125 | 4125 | | |
4126 | 4126 | | |
4127 | | - | |
| 4127 | + | |
4128 | 4128 | | |
4129 | 4129 | | |
4130 | 4130 | | |
| |||
4133 | 4133 | | |
4134 | 4134 | | |
4135 | 4135 | | |
| 4136 | + | |
| 4137 | + | |
4136 | 4138 | | |
4137 | 4139 | | |
4138 | 4140 | | |
| |||
0 commit comments