]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 6 Mar 2012 22:01:25 +0000 (14:01 -0800)
commit23a2cc44984f96cd82925e2f8de7ce4c9fc8e0bd
tree0f50457939b2fdec8666aaa7d4da4c38f2858492
parent6179eeb65c791c71ed29fff94785c4289caa9fad
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>
(cherry picked from commit 71879d3cb3dd8f2dfdefb252775c1b3ea04a3dd4)

Signed-off-by: Chuck Anderson <chuck.anderson@oracle.com>
For Oracle bug 13811116
fs/proc/base.c