- kernel-nsproxyc-use-kmemdup.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     kernel/nsproxy.c: use kmemdup()
has been removed from the -mm tree.  Its filename was
     kernel-nsproxyc-use-kmemdup.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: kernel/nsproxy.c: use kmemdup()
From: Alexey Dobriyan <adobriyan@xxxxxxxxx>

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 kernel/nsproxy.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff -puN kernel/nsproxy.c~kernel-nsproxyc-use-kmemdup kernel/nsproxy.c
--- a/kernel/nsproxy.c~kernel-nsproxyc-use-kmemdup
+++ a/kernel/nsproxy.c
@@ -44,11 +44,9 @@ static inline struct nsproxy *clone_name
 {
 	struct nsproxy *ns;
 
-	ns = kmalloc(sizeof(struct nsproxy), GFP_KERNEL);
-	if (ns) {
-		memcpy(ns, orig, sizeof(struct nsproxy));
+	ns = kmemdup(orig, sizeof(struct nsproxy), GFP_KERNEL);
+	if (ns)
 		atomic_set(&ns->count, 1);
-	}
 	return ns;
 }
 
_

Patches currently in -mm which might be from adobriyan@xxxxxxxxx are

origin.patch
i2o-exec-osmc-use-unsigned-long-flags.patch
mtd-fix-comment-typo-devic.patch
parisc-use-unsigned-long-flags-in-semaphore-code.patch
config_pm=n-slim-drivers-pcmcia.patch
i82092-wire-up-errors-from-pci_register_driver.patch
megaraid-fix-warnings-when-config_proc_fs=n.patch
scsi_libc-use-build_bug_on.patch
git-wireless.patch
paride-rename-pi_register-and-pi_unregister.patch
paride_register-shuffle-return-values.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux