]> git.baikalelectronics.ru Git - kernel.git/commit
proc: mem_release() should check mm != NULL
authorOleg Nesterov <oleg@redhat.com>
Tue, 31 Jan 2012 16:14:38 +0000 (17:14 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Feb 2012 22:39:01 +0000 (14:39 -0800)
commit8e867d3dae181db7ec83dc219aa6c968d6e982ca
treebefc1bd5504c6d97a24a2d519de19eaa3af0906f
parentd728573af723e576e9c21dae5759f1785774f0ff
proc: mem_release() should check mm != NULL

mem_release() can hit mm == NULL, add the necessary check.

Cc: stable@kernel.org
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c