ip6: during icmp to icmp6 translation truncate error messages 88/28288/3
authorAlexander Chernavin <achernavin@netgate.com>
Wed, 15 Jan 2020 11:45:47 +0000 (06:45 -0500)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 12 Aug 2020 15:59:46 +0000 (15:59 +0000)
commite77501695957f838b115572106d768f58cb11433
tree5f01549735cf53a765d40f25cdcc91961810cf34
parent0cd8e2c59a3cf53f1e58fe989ffa742fe320bbce
ip6: during icmp to icmp6 translation truncate error messages

All translated ICMPv6 packets that exceed the minimal IPv6 MTU get
truncated but according to RFC 4443 2.4 only ICMPv6 error messages
(type < 128) need to be truncated.

With this commit, truncate only ICMPv6 error messages.

Type: fix

Change-Id: Ic455352de2ff4ff6aa3421b46a2a54923f2d3f80
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
(cherry picked from commit 180210f99b74b97b127b7800bdc7bd243713cbf4)
src/vnet/ip/ip4_to_ip6.h