projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rconn: Queue packets for tx only if connected.
[openvswitch]
/
lib
/
rconn.c
diff --git
a/lib/rconn.c
b/lib/rconn.c
index 6bc371ad523468cc79b2b66ac1e394c5e07c6a25..a4ff91a2e90e05321f1f7b6ae1c0efecf7e83029 100644
(file)
--- a/
lib/rconn.c
+++ b/
lib/rconn.c
@@
-446,7
+446,7
@@
rconn_recv_wait(struct rconn *rc)
int
rconn_send(struct rconn *rc, struct buffer *b, int *n_queued)
{
- if (rc
->vconn
) {
+ if (rc
onn_is_connected(rc)
) {
b->private = n_queued;
if (n_queued) {
++*n_queued;