summaryrefslogtreecommitdiff
path: root/drivers/ssb
diff options
context:
space:
mode:
authorMinchan Kim <minchan@kernel.org>2013-08-12 15:13:55 +0900
committerChanho Park <chanho61.park@samsung.com>2014-03-20 17:44:28 +0900
commitaa32039072b4f479a7e6c5f425eb4b7a2b470af7 (patch)
tree1ed3edf175096b510e38ece6099b76b9552e9494 /drivers/ssb
parent6ccd8c2d4e55388b52cf1c4d73e043a15a5a4a03 (diff)
downloadlinux-3.10-aa32039072b4f479a7e6c5f425eb4b7a2b470af7.tar.gz
linux-3.10-aa32039072b4f479a7e6c5f425eb4b7a2b470af7.tar.bz2
linux-3.10-aa32039072b4f479a7e6c5f425eb4b7a2b470af7.zip
zram: fix invalid memory access
[1] tried to fix invalid memory access on zram->disk but it didn't fix properly because get_disk failed during module exit path. Actually, we don't need to reset zram->disk's capacity to zero in module exit path so that this patch introduces new argument "reset_capacity" on zram_reset_divice and it only reset it when reset_store is called. [1] 6030ea9b, zram: avoid invalid memory access in zram_exit() Change-Id: Ibc554559bbd533bd986c6001ffb9cfb22f8c9f49 Cc: Nitin Gupta <ngupta@vflare.org> Cc: Jiang Liu <jiang.liu@huawei.com> Cc: stable@vger.kernel.org Signed-off-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ssb')
0 files changed, 0 insertions, 0 deletions