projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf11da
)
missed kmalloc() in pcap_user.c
author
Al Viro
<viro@ftp.linux.org.uk>
Wed, 21 May 2008 05:32:11 +0000
(06:32 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 21 May 2008 23:55:57 +0000
(16:55 -0700)
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
patch
|
blob
|
blame
|
history
diff --git
a/arch/um/drivers/pcap_user.c
b/arch/um/drivers/pcap_user.c
index e9809356c5305408e702a70e43bb8652d193c8b9..5f903587d69e4ae322672270c0bba17d2ec41295 100644
(file)
--- 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");