summaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorLuis Chamberlain2018-11-30 23:09:21 +0100
committerLinus Torvalds2018-11-30 23:56:14 +0100
commit5618cf031fecda63847cafd1091e7b8bd626cdb1 (patch)
tree1cfd09fef4a37093b0761f6d7492e5ca83a6703c /mm/shmem.c
parenthfsplus: do not free node before using (diff)
downloadkernel-qcow2-linux-5618cf031fecda63847cafd1091e7b8bd626cdb1.tar.gz
kernel-qcow2-linux-5618cf031fecda63847cafd1091e7b8bd626cdb1.tar.xz
kernel-qcow2-linux-5618cf031fecda63847cafd1091e7b8bd626cdb1.zip
lib/test_kmod.c: fix rmmod double free
We free the misc device string twice on rmmod; fix this. Without this we cannot remove the module without crashing. Link: http://lkml.kernel.org/r/20181124050500.5257-1-mcgrof@kernel.org Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> Reported-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: <stable@vger.kernel.org> [4.12+] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions