]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Follow the RFC6980 and silently ignore following IPv6 NDP messages
authorae <ae@FreeBSD.org>
Fri, 15 Dec 2017 12:37:32 +0000 (12:37 +0000)
committerae <ae@FreeBSD.org>
Fri, 15 Dec 2017 12:37:32 +0000 (12:37 +0000)
commit8ff989f0f9bf74b89e649161f5e23a03333f5a0e
tree0ba00e20358136e710e77ad7687b3e7cb1531615
parent3152fdab539a0762b318dfbf41cd002b0f0c6771
Follow the RFC6980 and silently ignore following IPv6 NDP messages
that had the IPv6 fragmentation header:
 o  Neighbor Solicitation
 o  Neighbor Advertisement
 o  Router Solicitation
 o  Router Advertisement
 o  Redirect

Introduce M_FRAGMENTED mbuf flag, and set it after IPv6 fragment reassembly
is completed. Then check the presence of this flag in correspondig ND6
handling routines.

PR: 224247
MFC after: 2 weeks
sys/netinet6/frag6.c
sys/netinet6/icmp6.c
sys/netinet6/in6.h
sys/netinet6/nd6_nbr.c
sys/netinet6/nd6_rtr.c