From: akpm@linux-foundation.org Subject: [folded-merged] ipcshm-shorten-critical-region-for-shmat-fix.patch removed from -mm tree Date: Wed, 11 Sep 2013 14:07:52 -0700 Message-ID: <5230dba8.L+RvHZPb7ZyyVKs5%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:49294 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756966Ab3IKVHx (ORCPT ); Wed, 11 Sep 2013 17:07:53 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, sedat.dilek@gmail.com, riel@redhat.com, manfred@colorfullife.com, sasha.levin@oracle.com Subject: [folded-merged] ipcshm-shorten-critical-region-for-shmat-fix.patch removed from -mm tree To: sasha.levin@oracle.com,manfred@colorfullife.com,riel@redhat.com,sedat.dilek@gmail.com,mm-commits@vger.kernel.org From: akpm@linux-foundation.org Date: Wed, 11 Sep 2013 14:07:52 -0700 The patch titled Subject: ipc,shm: dont leave do_shmat with rcu lock held has been removed from the -mm tree. Its filename was ipcshm-shorten-critical-region-for-shmat-fix.patch This patch was dropped because it was folded into ipcshm-shorten-critical-region-for-shmat.patch ------------------------------------------------------ From: Sasha Levin Subject: ipc,shm: dont leave do_shmat with rcu lock held Commit "ipc,shm: shorten critical region for shmat" had an issue that allowed us to exit do_shmat() without releasing the rcu lock that was taken previously in the function. Signed-off-by: Sasha Levin Cc: Sedat Dilek Cc: Rik van Riel Cc: Manfred Spraul Signed-off-by: Andrew Morton --- ipc/shm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN ipc/shm.c~ipcshm-shorten-critical-region-for-shmat-fix ipc/shm.c --- a/ipc/shm.c~ipcshm-shorten-critical-region-for-shmat-fix +++ a/ipc/shm.c @@ -1093,7 +1093,7 @@ long do_shmat(int shmid, char __user *sh shp = shm_obtain_object_check(ns, shmid); if (IS_ERR(shp)) { err = PTR_ERR(shp); - goto out; + goto out_unlock; } err = -EACCES; _ Patches currently in -mm which might be from sasha.levin@oracle.com are origin.patch ipcshm-shorten-critical-region-for-shmat.patch