summaryrefslogtreecommitdiff
path: root/init/noinitramfs.c
diff options
context:
space:
mode:
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>2019-09-13 16:04:41 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-10-01 05:32:46 +0300
commit764f472ba4a7a0c18107ebfbe1a9f1f5f5a1e411 (patch)
tree1a9031d3e9bb2c37fd9238f6ac0343543b1be2c1 /init/noinitramfs.c
parent782b281883caf70289ba6a186af29441a117d23e (diff)
downloadlinux-764f472ba4a7a0c18107ebfbe1a9f1f5f5a1e411.tar.xz
scsi: mpt3sas: Free diag buffer without any status check
Memory leak can happen when diag buffer is released but not unregistered (where buffer is deallocated) by the user. During module unload time driver is not deallocating the buffer if the buffer is in released state. Deallocate the diag buffer during module unload time without any diag buffer status checks. Link: https://lore.kernel.org/r/1568379890-18347-5-git-send-email-sreekanth.reddy@broadcom.com Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'init/noinitramfs.c')
0 files changed, 0 insertions, 0 deletions