Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
c709f2c
)
ipsec: fix IPv6 IPsec tunnel punting
93/39293/3
author
Sylvain Cadilhac
<sylvain.cadilhac@freepro.com>
Fri, 28 Jul 2023 21:36:35 +0000
(23:36 +0200)
committer
Neale Ranns
<neale@graphiant.com>
Mon, 31 Jul 2023 13:00:31 +0000
(13:00 +0000)
Type: fix
Buffer needs to be rewinded before being passed to punt-dispatch node.
Change-Id: I43d103515d372e425f4c3b08ca1779398f1fced4
Signed-off-by: Sylvain Cadilhac <sylvain.cadilhac@freepro.com>
src/vnet/ipsec/ipsec_tun_in.c
patch
|
blob
|
history
diff --git
a/src/vnet/ipsec/ipsec_tun_in.c
b/src/vnet/ipsec/ipsec_tun_in.c
index
9f1e2d6
..
a419d8c
100644
(file)
--- a/
src/vnet/ipsec/ipsec_tun_in.c
+++ b/
src/vnet/ipsec/ipsec_tun_in.c
@@
-278,6
+278,7
@@
ipsec_tun_protect_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
else
{
next[0] = ipsec_ip6_if_no_tunnel (node, b[0], esp0, ip60);
+ vlib_buffer_advance (b[0], -buf_rewind0);
n_no_tunnel++;
goto trace00;
}