inet6: Ensure that icmp6_error checks mbuf is for IPv6
commit2ce8829272d813eb92215f0c06057355e69feed9
authorRoy Marples <roy@marples.name>
Thu, 12 Sep 2019 23:53:25 +0000 (13 00:53 +0100)
committerRoy Marples <roy@marples.name>
Thu, 12 Sep 2019 23:53:25 +0000 (13 00:53 +0100)
treef3a07852e15bda2aa903b58c57d9ab7bfa4814c1
parentc7700f286d46231166dfc96646ac83506147ae97
inet6: Ensure that icmp6_error checks mbuf is for IPv6

Unsure where this error lies, but commit 5772e17c exposes this.
For now, add a diagnostic to the console and a note to where this
can be triggered - ping6 an unresolvable IPv6 address.
sys/netinet6/icmp6.c
sys/netinet6/nd6.c