summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2016-01-25 12:20:49 +0200
committerGerrit Code Review <gerrit@fd.io>2016-01-25 14:05:09 +0000
commit0d4ffcd0efe2bb18e63b6e62b5aa373a3f5e5dd2 (patch)
treee878cf716ad1b51e47f9f47387ecc7a44697695e
parent0e5e3c3b62f2e4edbd9a8cdaccd5ad838545dd00 (diff)
MAP: Fix handling of jumbo frames.
Change-Id: Iec59a766af6955e547f2355495204b92aa42bea7 Signed-off-by: Ole Troan <ot@cisco.com>
-rw-r--r--vnet/vnet/map/ip4_map.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vnet/vnet/map/ip4_map.c b/vnet/vnet/map/ip4_map.c
index 7b9b3ed9d89..254b9790967 100644
--- a/vnet/vnet/map/ip4_map.c
+++ b/vnet/vnet/map/ip4_map.c
@@ -257,8 +257,6 @@ ip4_map (vlib_main_t *vm,
p1 = vlib_get_buffer(vm, pi1);
ip40 = vlib_buffer_get_current(p0);
ip41 = vlib_buffer_get_current(p1);
- p0->current_length = clib_net_to_host_u16(ip40->length);
- p1->current_length = clib_net_to_host_u16(ip41->length);
d0 = ip4_map_get_domain(vnet_buffer(p0)->ip.adj_index[VLIB_TX], &map_domain_index0);
d1 = ip4_map_get_domain(vnet_buffer(p1)->ip.adj_index[VLIB_TX], &map_domain_index1);
ASSERT(d0);
@@ -379,7 +377,6 @@ ip4_map (vlib_main_t *vm,
p0 = vlib_get_buffer(vm, pi0);
ip40 = vlib_buffer_get_current(p0);
- p0->current_length = clib_net_to_host_u16(ip40->length);
d0 = ip4_map_get_domain(vnet_buffer(p0)->ip.adj_index[VLIB_TX], &map_domain_index0);
ASSERT(d0);