Fix vconn_transact() bug introduced in commit 65ac65a6d2,
"Improve the command interface so that it sends back acks or errors." Oops. That was dumb. Thanks to Justin for reporting the problem.
This commit is contained in:
1 parent
42992b0468
commit
949a799037
1 file changed
+3
-1
+3
-1
@@ -598,7 +598,9 @@ vconn_transact(struct vconn *vconn, struct ofpbuf *request,
|
||||
|
||||
*replyp = NULL;
|
||||
error = vconn_send_block(vconn, request);
|
||||
ofpbuf_delete(request);
|
||||
if (error) {
|
||||
ofpbuf_delete(request);
|
||||
}
|
||||
return error ? error : vconn_recv_xid(vconn, send_xid, replyp);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user