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:
60a6fac
)
ovs-ofctl: Avoid segfault upon receive error for "monitor", "snoop".
author
Ben Pfaff
<blp@nicira.com>
Wed, 7 Mar 2012 21:52:55 +0000
(13:52 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 7 Mar 2012 22:07:31 +0000
(14:07 -0800)
Bug #10062.
Reported-by: James Schmidt <jschmidt@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
utilities/ovs-ofctl.c
patch
|
blob
|
history
diff --git
a/utilities/ovs-ofctl.c
b/utilities/ovs-ofctl.c
index
d2efd7f
..
786221e
100644
(file)
--- a/
utilities/ovs-ofctl.c
+++ b/
utilities/ovs-ofctl.c
@@
-988,9
+988,9
@@
monitor_vconn(struct vconn *vconn)
if (retval == EAGAIN) {
break;
}
- msg_type = ((const struct ofp_header *) b->data)->type;
-
run(retval, "vconn_recv");
+
+ msg_type = ((const struct ofp_header *) b->data)->type;
ofp_print(stderr, b->data, b->size, verbosity + 2);
ofpbuf_delete(b);