Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2002 10:37:08 -0500 (EST)
From:      Robert Watson <rwatson@freebsd.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 8257 for review
Message-ID:  <Pine.NEB.3.96L.1020323103445.47668B-100000@fledge.watson.org>
In-Reply-To: <200203231437.g2NEbt955279@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sys/param.h>
>  #include <sys/systm.h>
> @@ -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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020323103445.47668B-100000>