git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
666158e
)
Add clarifying comment.
author
Ben Pfaff
<blp@nicira.com>
Tue, 1 Apr 2008 17:00:40 +0000
(10:00 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 1 Apr 2008 17:00:40 +0000
(10:00 -0700)
switch/datapath.c
patch
|
blob
|
history
diff --git
a/switch/datapath.c
b/switch/datapath.c
index
93c7134
..
ffe578a
100644
(file)
--- a/
switch/datapath.c
+++ b/
switch/datapath.c
@@
-259,6
+259,8
@@
dp_run(struct datapath *dp)
}
buffer_delete(buffer);
+ /* Process a number of commands from the controller, but cap it at a
+ * reasonable number so that other processing doesn't starve. */
for (i = 0; i < 50; i++) {
struct buffer *buffer = controller_recv(dp->cc);
if (!buffer) {