]> git.openfabrics.org - ~shefty/rdma-dev.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)
commit71879d3cb3dd8f2dfdefb252775c1b3ea04a3dd4
treebefc1bd5504c6d97a24a2d519de19eaa3af0906f
parent879a5a001b62a020e074d460b3a7c0fd993f9832
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