ip6: fix icmp error on check fail 52/40452/8
authorMaxime Peim <[email protected]>
Thu, 4 Apr 2024 09:09:26 +0000 (11:09 +0200)
committerNeale Ranns <[email protected]>
Fri, 12 Jul 2024 03:11:46 +0000 (03:11 +0000)
commit0e3fcc0b7ef70b82145730749c3c2b648d6732c4
tree0568e8567f946fc0651e0109b59c51c441f49fe9
parent23c489660b5952a50ff1bb94c9151e6b1b08b346
ip6: fix icmp error on check fail

Avoid to do fixup either if TTL or MTU check fails. It rewrites the
icmp header copied in case the ip6-icmp-error ran before.

Type: fix
Change-Id: If043d1cae35c41ebf70ba979883119604bee883d
Signed-off-by: Maxime Peim <[email protected]>
src/vnet/ip/ip6_forward.c