git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
misc: Fix allocation 'borrowed' by vhost_net
[pandora-kernel.git]
/
drivers
/
vhost
/
net.c
diff --git
a/drivers/vhost/net.c
b/drivers/vhost/net.c
index
0f41c91
..
df5b6b9
100644
(file)
--- a/
drivers/vhost/net.c
+++ b/
drivers/vhost/net.c
@@
-637,7
+637,7
@@
const static struct file_operations vhost_net_fops = {
};
static struct miscdevice vhost_net_misc = {
-
VHOST_NET
_MINOR,
+
MISC_DYNAMIC
_MINOR,
"vhost-net",
&vhost_net_fops,
};