aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ip')
-rw-r--r--src/vnet/ip/ip_packet.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vnet/ip/ip_packet.h b/src/vnet/ip/ip_packet.h
index e1089ec308e..c160deefbeb 100644
--- a/src/vnet/ip/ip_packet.h
+++ b/src/vnet/ip/ip_packet.h
@@ -192,7 +192,6 @@ ip_csum (void *data, u16 n_left)
#ifdef CLIB_ARCH_IS_LITTLE_ENDIAN
v1 = u16x16_byte_swap (v1);
#endif
- v1 = u16x16_byte_swap (u16x16_load_unaligned (data));
sum8 += u32x8_from_u16x8 (u16x16_extract_lo (v1));
sum8 += u32x8_from_u16x8 (u16x16_extract_hi (v1));
n_left -= 16;