projects
/
linux
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'battery/for-next'
[linux]
/
net
/
openvswitch
/
vport.c
diff --git
a/net/openvswitch/vport.c
b/net/openvswitch/vport.c
index
f81c1d0
..
19f6765
100644
(file)
--- a/
net/openvswitch/vport.c
+++ b/
net/openvswitch/vport.c
@@
-47,7
+47,7
@@
static struct hlist_head *dev_table;
*/
int ovs_vport_init(void)
{
*/
int ovs_vport_init(void)
{
- dev_table = k
zalloc(VPORT_HASH_BUCKETS *
sizeof(struct hlist_head),
+ dev_table = k
calloc(VPORT_HASH_BUCKETS,
sizeof(struct hlist_head),
GFP_KERNEL);
if (!dev_table)
return -ENOMEM;
GFP_KERNEL);
if (!dev_table)
return -ENOMEM;