projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ofp-util: Correct comment above ofputil_append_port_stat()
[openvswitch]
/
lib
/
flow.c
diff --git
a/lib/flow.c
b/lib/flow.c
index 93bd9b25bd13cfda63acf847922ea482e2cb040e..76d234057957ec6346143a7f92f269b5bdf5d83a 100644
(file)
--- a/
lib/flow.c
+++ b/
lib/flow.c
@@
-346,6
+346,7
@@
flow_extract(struct ofpbuf *packet, uint32_t skb_priority,
memset(flow, 0, sizeof *flow);
if (tnl) {
+ assert(tnl != &flow->tunnel);
flow->tunnel = *tnl;
}
flow->in_port = ofp_in_port;