Commit 63ca022
scsi: iscsi: Fix redundant response for ISCSI_UEVENT_GET_HOST_STATS request
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]>1 parent 8604f63 commit 63ca022
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4104 | 4104 | | |
4105 | 4105 | | |
4106 | 4106 | | |
4107 | | - | |
| 4107 | + | |
4108 | 4108 | | |
4109 | 4109 | | |
4110 | 4110 | | |
| |||
4113 | 4113 | | |
4114 | 4114 | | |
4115 | 4115 | | |
| 4116 | + | |
| 4117 | + | |
4116 | 4118 | | |
4117 | 4119 | | |
4118 | 4120 | | |
| |||
0 commit comments