From 0d4ffcd0efe2bb18e63b6e62b5aa373a3f5e5dd2 Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Mon, 25 Jan 2016 12:20:49 +0200 Subject: MAP: Fix handling of jumbo frames. Change-Id: Iec59a766af6955e547f2355495204b92aa42bea7 Signed-off-by: Ole Troan --- vnet/vnet/map/ip4_map.c | 3 --- 1 file changed, 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); -- cgit 1.2.3-korg