Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 296cd66f authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

missed kmalloc() in pcap_user.c

parent 5cf11daf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");