summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_cong.c
diff options
context:
space:
mode:
authorXishi Qiu <qiuxishi@huawei.com>2016-04-01 14:31:20 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-04-01 17:03:37 -0500
commit6f25a14a7053b69917e2ebea0d31dd444cd31fd5 (patch)
tree48914967e96ffd5e054252cab541f15f768323ee /net/ipv4/tcp_cong.c
parent969e8d7e47f93ef693028667480558de8f70523f (diff)
downloadlwn-6f25a14a7053b69917e2ebea0d31dd444cd31fd5.tar.gz
lwn-6f25a14a7053b69917e2ebea0d31dd444cd31fd5.zip
mm: fix invalid node in alloc_migrate_target()
It is incorrect to use next_node to find a target node, it will return MAX_NUMNODES or invalid node. This will lead to crash in buddy system allocation. Fixes: c8721bbbdd36 ("mm: memory-hotplug: enable memory hotplug to handle hugepage") Signed-off-by: Xishi Qiu <qiuxishi@huawei.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Joonsoo Kim <js1304@gmail.com> Cc: David Rientjes <rientjes@google.com> Cc: "Laura Abbott" <lauraa@codeaurora.org> Cc: Hui Zhu <zhuhui@xiaomi.com> Cc: Wang Xiaoqiang <wangxq10@lzu.edu.cn> 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 'net/ipv4/tcp_cong.c')
0 files changed, 0 insertions, 0 deletions