Commit a6f1c69
scsi: ufs: qcom: Fix crypto key eviction
stable inclusion
from stable-v6.6.78
commit 7f1e0af181982642bc918ca816e18077bbdadacb
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IBX1M5
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7f1e0af181982642bc918ca816e18077bbdadacb
--------------------------------
commit 7a0905caf5665be41094a6ceb5e9d2524de4627a upstream.
Commit 56541c7 ("scsi: ufs: ufs-qcom: Switch to the new ICE API")
introduced an incorrect check of the algorithm ID into the key eviction
path, and thus qcom_ice_evict_key() is no longer ever called. Fix it.
Fixes: 56541c7 ("scsi: ufs: ufs-qcom: Switch to the new ICE API")
Cc: [email protected]
Cc: Abel Vesa <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
(cherry picked from commit 7f1e0af181982642bc918ca816e18077bbdadacb)
Signed-off-by: Wentao Guan <[email protected]>1 parent a08a7fd commit a6f1c69
1 file changed
+8
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
178 | 176 | | |
179 | 177 | | |
180 | 178 | | |
| |||
0 commit comments