summaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/avf/output.c')
-rw-r--r--src/plugins/avf/output.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/avf/output.c b/src/plugins/avf/output.c
index 8cc76a6c47b..116b055d8a0 100644
--- a/src/plugins/avf/output.c
+++ b/src/plugins/avf/output.c
@@ -123,8 +123,6 @@ avf_tx_prepare_cksum (vlib_buffer_t * b, u8 is_tso)
sum = ~clib_ip_csum ((u8 *) &psh, sizeof (psh));
}
- /* ip_csum does a byte swap for some reason... */
- sum = clib_net_to_host_u16 (sum);
if (is_tcp)
tcp->checksum = sum;
else