git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Fix potential leak during flow mods.
[sliver-openvswitch.git]
/
lib
/
bundle.c
diff --git
a/lib/bundle.c
b/lib/bundle.c
index
4a40a6a
..
60a360e
100644
(file)
--- a/
lib/bundle.c
+++ b/
lib/bundle.c
@@
-177,7
+177,7
@@
bundle_from_openflow(const struct nx_action_bundle *nab,
ofpbuf_put(ofpacts, &ofp_port, sizeof ofp_port);
}
ofpbuf_put(ofpacts, &ofp_port, sizeof ofp_port);
}
- bundle = ofpacts->
l2
;
+ bundle = ofpacts->
frame
;
ofpact_update_len(ofpacts, &bundle->ofpact);
if (!error) {
ofpact_update_len(ofpacts, &bundle->ofpact);
if (!error) {
@@
-288,7
+288,7
@@
bundle_parse__(const char *s, char **save_ptr,
}
ofpbuf_put(ofpacts, &slave_port, sizeof slave_port);
}
ofpbuf_put(ofpacts, &slave_port, sizeof slave_port);
- bundle = ofpacts->
l2
;
+ bundle = ofpacts->
frame
;
bundle->n_slaves++;
}
ofpact_update_len(ofpacts, &bundle->ofpact);
bundle->n_slaves++;
}
ofpact_update_len(ofpacts, &bundle->ofpact);