projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hmap: New functions, macros for iterating buckets without comparing hashes.
[openvswitch]
/
ofproto
/
pinsched.c
diff --git
a/ofproto/pinsched.c
b/ofproto/pinsched.c
index 0afd22ff645958861172c51be308349deb6f6f07..a4f5bfad5d047380811c2946119358476071dbdb 100644
(file)
--- a/
ofproto/pinsched.c
+++ b/
ofproto/pinsched.c
@@
-227,7
+227,7
@@
pinsched_create(int rate_limit, int burst_limit, struct switch_status *ss)
{
struct pinsched *ps;
- ps = x
calloc(1,
sizeof *ps);
+ ps = x
zalloc(
sizeof *ps);
port_array_init(&ps->queues);
ps->n_queued = 0;
ps->last_tx_port = PORT_ARRAY_SIZE;