projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tunnels: Don't initialize unnecessary packet metadata.
[cascardo/ovs.git]
/
lib
/
dp-packet.c
diff --git
a/lib/dp-packet.c
b/lib/dp-packet.c
index
31fe9d3
..
098f816
100644
(file)
--- a/
lib/dp-packet.c
+++ b/
lib/dp-packet.c
@@
-29,7
+29,7
@@
dp_packet_init__(struct dp_packet *b, size_t allocated, enum dp_packet_source so
b->source = source;
b->l2_pad_size = 0;
b->l2_5_ofs = b->l3_ofs = b->l4_ofs = UINT16_MAX;
-
b->md = PKT_METADATA_INITIALIZER(
0);
+
pkt_metadata_init(&b->md,
0);
}
static void