Commit 991df3d
scsi: mpt3sas: Fix use-after-free warning
Fix the following use-after-free warning which is observed during
controller reset:
refcount_t: underflow; use-after-free.
WARNING: CPU: 23 PID: 5399 at lib/refcount.c:28 refcount_warn_saturate+0xa6/0xf0
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sreekanth Reddy <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent 8fe4ce5 commit 991df3d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3670 | 3670 | | |
3671 | 3671 | | |
3672 | 3672 | | |
| 3673 | + | |
3673 | 3674 | | |
3674 | 3675 | | |
3675 | 3676 | | |
| |||
3751 | 3752 | | |
3752 | 3753 | | |
3753 | 3754 | | |
3754 | | - | |
3755 | 3755 | | |
3756 | 3756 | | |
3757 | 3757 | | |
| |||
0 commit comments