public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Follow the RFC6980 and silently ignore following IPv6 NDP messages
@ 2018-08-24 13:10 Sebastian Huber
  0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2018-08-24 13:10 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b43341334e42b30994380f74ec7c7bda4407a666

commit b43341334e42b30994380f74ec7c7bda4407a666
Author: ae@FreeBSD.org <ae@FreeBSD.org>
Date:   Fri Dec 15 12:37:32 2017 +0000

    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

Diff:
---
 newlib/libc/sys/rtems/include/netinet6/in6.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/newlib/libc/sys/rtems/include/netinet6/in6.h b/newlib/libc/sys/rtems/include/netinet6/in6.h
index 99ac803..37e1e93 100644
--- a/newlib/libc/sys/rtems/include/netinet6/in6.h
+++ b/newlib/libc/sys/rtems/include/netinet6/in6.h
@@ -658,6 +658,7 @@ struct ip6_mtuinfo {
 #define	M_LOOP			M_PROTO6
 #define	M_AUTHIPDGM		M_PROTO7
 #define	M_RTALERT_MLD		M_PROTO8
+#define	M_FRAGMENTED		M_PROTO9	/* contained fragment header */
 
 #ifdef _KERNEL
 struct cmsghdr;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-24 13:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-24 13:10 [newlib-cygwin] Follow the RFC6980 and silently ignore following IPv6 NDP messages Sebastian Huber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).