diff options
author | Sudip Mukherjee | 2016-06-24 23:50:24 +0200 |
---|---|---|
committer | Linus Torvalds | 2016-06-25 02:23:52 +0200 |
commit | 8285027fc479949a7a166bc1b26ce57e894878a7 (patch) | |
tree | 11874d42ed0637ce07ebc6f7739dfaa37bc12bd7 /fs/autofs4/waitq.c | |
parent | tools/vm/slabinfo: fix spelling mistake: "Ocurrences" -> "Occurrences" (diff) | |
download | kernel-qcow2-linux-8285027fc479949a7a166bc1b26ce57e894878a7.tar.gz kernel-qcow2-linux-8285027fc479949a7a166bc1b26ce57e894878a7.tar.xz kernel-qcow2-linux-8285027fc479949a7a166bc1b26ce57e894878a7.zip |
mm/page_owner: avoid null pointer dereference
We have dereferenced page_ext before checking it. Lets check it first
and then used it.
Fixes: f86e4271978b ("mm: check the return value of lookup_page_ext for all call sites")
Link: http://lkml.kernel.org/r/1465249059-7883-1-git-send-email-sudipm.mukherjee@gmail.com
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/autofs4/waitq.c')
0 files changed, 0 insertions, 0 deletions