The quilt patch titled Subject: fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body-fix has been removed from the -mm tree. Its filename was fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body-fix.patch This patch was dropped because it was folded into fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body-fix reduce scope of `iter' Cc: "Bos, H.J." <h.j.bos@xxxxx> Cc: "Brian Johannesmeyer" <bjohannesmeyer@xxxxxxxxx> Cc: Cristiano Giuffrida <c.giuffrida@xxxxx> Cc: David Hildenbrand <david@xxxxxxxxxx> Cc: Jakob Koschel <jakobkoschel@xxxxxxxxx> Cc: Mike Rapoport <rppt@xxxxxxxxxx> Cc: Oscar Salvador <osalvador@xxxxxxx> Cc: Alexey Dobriyan <adobriyan@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/kcore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/fs/proc/kcore.c~fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body-fix +++ a/fs/proc/kcore.c @@ -316,7 +316,6 @@ read_kcore(struct file *file, char __use size_t page_offline_frozen = 1; size_t phdrs_len, notes_len; struct kcore_list *m; - struct kcore_list *iter; size_t tsz; int nphdr; unsigned long start; @@ -480,6 +479,8 @@ read_kcore(struct file *file, char __use * the previous entry, search for a matching entry. */ if (!m || start < m->addr || start >= m->addr + m->size) { + struct kcore_list *iter; + m = NULL; list_for_each_entry(iter, &kclist_head, list) { if (start >= iter->addr && _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-create-new-mm-swaph-header-file-fix.patch mm-check-against-orig_pte-for-finish_fault-fix-checkpatch-fixes.patch mm-hugetlb-only-drop-uffd-wp-special-pte-if-required-fix-fix.patch kfence-enable-check-kfence-canary-on-panic-via-boot-param-fix.patch lib-kstrtoxc-add-false-true-support-to-kstrtobool-fix.patch mm-vmscan-not-necessary-to-re-init-the-list-for-each-iteration-fix.patch mm-make-minimum-slab-alignment-a-runtime-property-fix.patch fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body.patch add-fat-messages-to-printk-index-checkpatch-fixes.patch proc-fix-dentry-inode-overinstantiating-under-proc-pid-net-checkpatch-fixes.patch linux-next-rejects.patch linux-next-git-rejects.patch mm-oom_killc-fix-vm_oom_kill_table-ifdeffery.patch