summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
58f75a5)
commit
71879d3cb3dd8f2dfdefb252775c1b3ea04a3dd4 upstream.
mem_release() can hit mm == NULL, add the necessary check.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
static int mem_release(struct inode *inode, struct file *file)
{
struct mm_struct *mm = file->private_data;
static int mem_release(struct inode *inode, struct file *file)
{
struct mm_struct *mm = file->private_data;