Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6f9f6f3
)
Fix IP fragment-id and offset issue in LB-GRE4
51/7751/3
author
Hongjun Ni
<hongjun.ni@intel.com>
Tue, 25 Jul 2017 14:03:08 +0000
(22:03 +0800)
committer
Florin Coras
<florin.coras@gmail.com>
Fri, 11 Aug 2017 07:04:14 +0000
(07:04 +0000)
Change-Id: Ic1c440b2594c3ec4cdc75730069f16432cdb9587
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
src/plugins/lb/node.c
patch
|
blob
|
history
diff --git
a/src/plugins/lb/node.c
b/src/plugins/lb/node.c
index
3171148
..
4a7485e
100644
(file)
--- a/
src/plugins/lb/node.c
+++ b/
src/plugins/lb/node.c
@@
-277,6
+277,8
@@
lb_node_fn (vlib_main_t * vm,
ip40->dst_address = lbm->ass[asindex0].address.ip4;
ip40->ip_version_and_header_length = 0x45;
ip40->ttl = 128;
+ ip40->fragment_id = 0;
+ ip40->flags_and_fragment_offset = 0;
ip40->length = clib_host_to_net_u16(len0 + sizeof(gre_header_t) + sizeof(ip4_header_t));
ip40->protocol = IP_PROTOCOL_GRE;
ip40->checksum = ip4_header_checksum (ip40);