projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ofproto: Revert change in flow cookie when an ofoperation fails.
[openvswitch]
/
ofproto
/
ofproto.c
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index dfa83e56eb564aff9812ed34bc207d5ca5201389..66e8bb86c62cf73842347ed0ae5b93ee9bc43580 100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-3650,6
+3650,7
@@
ofopgroup_complete(struct ofopgroup *group)
if (!op->error) {
rule->modified = time_msec();
} else {
+ rule->flow_cookie = op->flow_cookie;
free(rule->ofpacts);
rule->ofpacts = op->ofpacts;
rule->ofpacts_len = op->ofpacts_len;