projects
/
openvswitch
/ 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 93c71347a1bd5f91ab2378c31465d0756ee06611..ffe578af5f61b9d9254a7e89f63a41b103bcd63b 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) {