Bundle add must use the same xid as the embedded message. Signed-off-by: Jarno Rajahalme <jrajaha...@nicira.com> --- lib/ofp-util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/ofp-util.c b/lib/ofp-util.c index 6366919..e62c584 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -8900,7 +8900,9 @@ ofputil_encode_bundle_add(enum ofp_version ofp_version, struct ofpbuf *request; struct ofp14_bundle_ctrl_msg *m; - request = ofpraw_alloc(OFPRAW_OFPT14_BUNDLE_ADD_MESSAGE, ofp_version, 0); + /* Must use the same xid as the embedded message. */ + request = ofpraw_alloc_xid(OFPRAW_OFPT14_BUNDLE_ADD_MESSAGE, ofp_version, + msg->msg->xid, 0); m = ofpbuf_put_zeros(request, sizeof *m); m->bundle_id = htonl(msg->bundle_id); -- 1.7.10.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev