From owner-p4-projects Sat Mar 23 7:41:10 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9DBBD37B417; Sat, 23 Mar 2002 07:41:04 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 6575937B404 for ; Sat, 23 Mar 2002 07:41:03 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.6) with SMTP id g2NFb8k58998 for ; Sat, 23 Mar 2002 10:37:09 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sat, 23 Mar 2002 10:37:08 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Perforce Change Reviews Subject: Re: PERFORCE change 8257 for review In-Reply-To: <200203231437.g2NEbt955279@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This lets MAC boxes actually boot successfully with IPv6 enabled, although no doubt there are remaining issues relating to labeling packets and properly handling labeling on sockets. In particular, IPv6 fragmentation/reassembly isn't dealt with, and IPsec doesn't properly preserve labels as they pass up the stack. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Sat, 23 Mar 2002, Robert Watson wrote: > http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8257 > > Change 8257 by rwatson@rwatson_paprika on 2002/03/23 06:37:13 > > Teach IPv6 link layer neighbor discovery how to label out-going > packets. There are two interface arguments present and I think > I have the right one. > > Affected files ... > > ... //depot/projects/trustedbsd/mac/sys/netinet6/nd6.c#4 edit > > Differences ... > > ==== //depot/projects/trustedbsd/mac/sys/netinet6/nd6.c#4 (text+ko) ==== > > @@ -40,6 +40,7 @@ > > #include "opt_inet.h" > #include "opt_inet6.h" > +#include "opt_mac.h" > > #include > #include > @@ -2019,6 +2020,9 @@ > > sendpkt: > > +#ifdef MAC > + mac_create_mbuf_linklayer_for_ifnet(ifp, m); > +#endif > if ((ifp->if_flags & IFF_LOOPBACK) != 0) { > return((*ifp->if_output)(origifp, m, (struct sockaddr *)dst, > rt)); > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message