summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip4_forward.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-05-20 19:58:20 +0000
committerNeale Ranns <nranns@cisco.com>2020-05-21 07:09:34 +0000
commitfc74697ed3b45499027b272332af786e8e7917bb (patch)
tree7c4fc765e029329e8dee12052f2fc50bdf6ace49 /src/vnet/ip/ip4_forward.c
parentef58758286e84d227377c447c7cf8fae82bdca94 (diff)
ip: Dual loop error in midchain chksum
Type: fix Change-Id: Idf7c80b7d81f796bd0512bca4276bcfcf2af241a Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip4_forward.c')
-rw-r--r--src/vnet/ip/ip4_forward.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/ip4_forward.c b/src/vnet/ip/ip4_forward.c
index 4691e27c3e3..231912bc5ca 100644
--- a/src/vnet/ip/ip4_forward.c
+++ b/src/vnet/ip/ip4_forward.c
@@ -2259,7 +2259,7 @@ ip4_rewrite_inline_with_gso (vlib_main_t * vm,
adj1->ia_cfg_index);
next[1] = next_index;
if (is_midchain)
- vnet_calc_checksums_inline (vm, b[0], 1 /* is_ip4 */ ,
+ vnet_calc_checksums_inline (vm, b[1], 1 /* is_ip4 */ ,
0 /* is_ip6 */ ,
0 /* with gso */ );
}