public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5/14] missed kmalloc() in pcap_user.c
@ 2008-08-05 20:14 Jeff Dike
  2008-08-16 22:32 ` patch uml-missed-kmalloc-in-pcap_user.c.patch added to 2.6.25-stable tree gregkh
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Dike @ 2008-08-05 20:14 UTC (permalink / raw)
  To: stable; +Cc: LKML, uml-devel

>From 296cd66f7f6e130fe08e6880ecb13c3fc615a8db

From: Al Viro <viro@ftp.linux.org.uk>

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
 arch/um/drivers/pcap_user.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/um/drivers/pcap_user.c b/arch/um/drivers/pcap_user.c
index e980935..5f90358 100644
--- a/arch/um/drivers/pcap_user.c
+++ b/arch/um/drivers/pcap_user.c
@@ -50,7 +50,7 @@ static int pcap_open(void *data)
 			return -EIO;
 		}
 
-		pri->compiled = kmalloc(sizeof(struct bpf_program),
+		pri->compiled = uml_kmalloc(sizeof(struct bpf_program),
 					UM_GFP_KERNEL);
 		if (pri->compiled == NULL) {
 			printk(UM_KERN_ERR "pcap_open : kmalloc failed\n");
-- 
1.5.5.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [PATCH 5/14] missed kmalloc() in pcap_user.c
@ 2008-08-01 22:41 Jeff Dike
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Dike @ 2008-08-01 22:41 UTC (permalink / raw)
  To: stable; +Cc: LKML, uml-devel, Al Viro

>From 058ad32dc7765cde3717d3aaf5415724e5738128 Mon Sep 17 00:00:00 2001
From: Al Viro <viro@ftp.linux.org.uk>

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
 arch/um/drivers/pcap_user.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/um/drivers/pcap_user.c b/arch/um/drivers/pcap_user.c
index e980935..5f90358 100644
--- a/arch/um/drivers/pcap_user.c
+++ b/arch/um/drivers/pcap_user.c
@@ -50,7 +50,7 @@ static int pcap_open(void *data)
 			return -EIO;
 		}
 
-		pri->compiled = kmalloc(sizeof(struct bpf_program),
+		pri->compiled = uml_kmalloc(sizeof(struct bpf_program),
 					UM_GFP_KERNEL);
 		if (pri->compiled == NULL) {
 			printk(UM_KERN_ERR "pcap_open : kmalloc failed\n");
-- 
1.5.5.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-16 22:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-05 20:14 [PATCH 5/14] missed kmalloc() in pcap_user.c Jeff Dike
2008-08-16 22:32 ` patch uml-missed-kmalloc-in-pcap_user.c.patch added to 2.6.25-stable tree gregkh
  -- strict thread matches above, loose matches on Subject: below --
2008-08-01 22:41 [PATCH 5/14] missed kmalloc() in pcap_user.c Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox