The patch titled Subject: ipc-mqueue-strengthen-checks-on-mqueue-creation-fix has been removed from the -mm tree. Its filename was ipc-mqueue-strengthen-checks-on-mqueue-creation-fix.patch This patch was dropped because it was folded into ipc-mqueue-strengthen-checks-on-mqueue-creation.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: ipc-mqueue-strengthen-checks-on-mqueue-creation-fix s/ENOMEM/EOVERFLOW/ Cc: Doug Ledford <dledford@xxxxxxxxxx> Cc: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Cc: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- ipc/mqueue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN ipc/mqueue.c~ipc-mqueue-strengthen-checks-on-mqueue-creation-fix ipc/mqueue.c --- a/ipc/mqueue.c~ipc-mqueue-strengthen-checks-on-mqueue-creation-fix +++ a/ipc/mqueue.c @@ -687,13 +687,13 @@ static int mq_attr_ok(struct ipc_namespa } /* check for overflow */ if (attr->mq_msgsize > ULONG_MAX/attr->mq_maxmsg) - return -ENOMEM; + return -EOVERFLOW; mq_treesize = attr->mq_maxmsg * sizeof(struct msg_msg) + min_t(unsigned int, attr->mq_maxmsg, MQ_PRIO_MAX) * sizeof(struct posix_msg_tree_node); total_size = attr->mq_maxmsg * attr->mq_msgsize; if (total_size + mq_treesize < total_size) - return -ENOMEM; + return -EOVERFLOW; return 0; } _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are origin.patch security-keys-keyctlc-suppress-memory-allocation-failure-warning.patch isdn-add-missing-kern_cont.patch kernel-irq-managec-use-the-pr_foo-infrastructure-to-prefix-printks.patch vsprintf-correctly-handle-width-when-flag-used-in-%p-format.patch vsprintf-further-optimize-decimal-conversion.patch proc-clean-up-proc-pid-environ-handling.patch kernel-cpuc-document-clear_tasks_mm_cpumask.patch ipc-mqueue-improve-performance-of-send-recv.patch ipc-mqueue-correct-mq_attr_ok-test.patch ipc-mqueue-strengthen-checks-on-mqueue-creation.patch tools-selftests-add-mq_perf_tests-checkpatch-fixes.patch ipc-mqueue-add-rbtree-node-caching-support-checkpatch-fixes.patch pidns-make-killed-children-autoreap-checkpatch-fixes.patch fs-nls-add-apple-nls-fix.patch eventfd-change-int-to-__u64-in-eventfd_signal-fix.patch syscalls-x86-add-__nr_kcmp-syscall-v8.patch syscalls-x86-add-__nr_kcmp-syscall-v8-comment-update-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html