summaryrefslogtreecommitdiffstats
path: root/lib/idr.c
diff options
context:
space:
mode:
authorHillf Danton <dhillf@gmail.com>2013-03-08 21:43:28 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-03-09 00:05:34 +0100
commit5ca3957510b9fc2a14d3647db518014842f9a2b4 (patch)
tree6a4427c2e58796ced91b079733e94431b0e7c8b7 /lib/idr.c
parentipc: don't allocate a copy larger than max (diff)
downloadlinux-5ca3957510b9fc2a14d3647db518014842f9a2b4.tar.xz
linux-5ca3957510b9fc2a14d3647db518014842f9a2b4.zip
mm/mempolicy.c: fix wrong sp_node insertion
n->end is accessed in sp_insert(). Thus it should be update before calling sp_insert(). This mistake may make kernel panic. Signed-off-by: Hillf Danton <dhillf@gmail.com> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Sasha Levin <sasha.levin@oracle.com> Cc: Hugh Dickins <hughd@google.com> Cc: Mel Gorman <mgorman@suse.de> Cc: Dave Jones <davej@redhat.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions