mm: memcontrol: add sanity checks for memcg->id.ref on get/put
authorVladimir Davydov <vdavydov@virtuozzo.com>
Fri, 7 Oct 2016 23:57:29 +0000 (16:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 8 Oct 2016 01:46:26 +0000 (18:46 -0700)
commit58fa2a5512d9f224775fb01433f195e639953c5f
tree2462be9a9e44436cb6f4689800e3bb6c735c7877
parent252e5c6e2e5b4557599ef86ea5d02b0395e9056c
mm: memcontrol: add sanity checks for memcg->id.ref on get/put

Link: http://lkml.kernel.org/r/1c5ddb1c171dbdfc3262252769d6138a29b35b70.1470219853.git.vdavydov@virtuozzo.com
Signed-off-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c