ip: fix cancel termination after receive malformed ip6 packet 83/22683/7
authorjohny <jan.cavojsky@pantheon.tech>
Fri, 11 Oct 2019 16:28:51 +0000 (18:28 +0200)
committerOle Trøan <otroan@employees.org>
Thu, 5 Dec 2019 15:13:48 +0000 (15:13 +0000)
commit17478e4eb81d384f171ca27c9110a051cd434f16
tree0709ffd67003d5fcd2859fa233ef297198fdf951
parent70d8ef89a5d9e38d4f35517c0f64009c47b76c4d
ip: fix cancel termination after receive malformed ip6 packet

This fix is for cancel termination of vpp after receive malformed
packet type of ip6.To avoid termination of vpp are checked if are
missing data in packet. This occours, when payload length in ip6
header packet is more than real count of data in packet. When
this error occours, packet is ignore.

Type: fix
Ticket: VPP-1693, VPP-1694

Change-Id: I9d9ecea7b75c8702cb31aa8051c8d4d7ce19659d
Signed-off-by: johny <jan.cavojsky@pantheon.tech>
src/vnet/ip/ip.h
src/vnet/ip/ip6_forward.c