diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-08-05 16:14:05 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-20 11:15:35 -0700 |
commit | 2fd42a3cc07e8facd413e9bcf12de69a525736ab (patch) | |
tree | 97f43f379e4f22ea6a6e45db3069d2127a706f24 | |
parent | e3ac3cda49d4ee77dee42270d02d3996bace3744 (diff) | |
download | lwn-2fd42a3cc07e8facd413e9bcf12de69a525736ab.tar.gz lwn-2fd42a3cc07e8facd413e9bcf12de69a525736ab.zip |
uml: missed kmalloc() in pcap_user.c
commit 296cd66f7f6e130fe08e6880ecb13c3fc615a8db upstream
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | 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 e9809356c530..5f903587d69e 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"); |