summaryrefslogtreecommitdiff
path: root/kernel/rtmutex-debug.h
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2012-11-21 09:54:48 +0100
committerBen Hutchings <ben@decadent.org.uk>2013-07-27 05:34:30 +0100
commit0465278f3154d76363fa886c0602b4255100cc05 (patch)
tree4d6e2bf7d8ca179de26a8621e665f5c00131906d /kernel/rtmutex-debug.h
parente74ac4ba96efadd107e415e66936a2df813c6652 (diff)
megaraid_sas: fix memory leak if SGL has zero length entries
commit 7a6a731bd00ca90d0e250867c3b9c05b5ff0fa49 upstream. commit 98cb7e44 ([SCSI] megaraid_sas: Sanity check user supplied length before passing it to dma_alloc_coherent()) introduced a memory leak. Memory allocated for entries following zero length SGL entries will not be freed. Reference: http://bugs.debian.org/688198 Signed-off-by: Bjørn Mork <bjorn@mork.no> Acked-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'kernel/rtmutex-debug.h')
0 files changed, 0 insertions, 0 deletions