Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2004 17:40:29 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Mark Santcroos <marks@ripe.net>
Cc:        current@freebsd.org
Subject:   Re: natd broken for days 
Message-ID:  <77381.1100191229@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 11 Nov 2004 17:36:38 %2B0100." <20041111163638.GA700@laptop.6bone.nl> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20041111163638.GA700@laptop.6bone.nl>, Mark Santcroos writes:
>On Thu, Nov 11, 2004 at 05:25:23AM -0800, Sean McNeil wrote:
>> It has been reported that both amd64 and i386 architectures will panic
>> in natd by jumping to address 0.  There has been no discussion since the
>> reports, however, and I was wondering if anyone is looking into it.
>
>This should fix it.

We have a problem if that is the case, because then ipdivert
doesn't run through net_init_domain() :-(

>
>--- sys/netinet/ip_divert.c	Mon Nov  8 15:44:53 2004
>+++ sys/netinet/ip_divert.c	Thu Nov 11 17:24:07 2004
>@@ -671,6 +671,9 @@
> 	.pru_send =		div_send,
> 	.pru_shutdown =		div_shutdown,
> 	.pru_sockaddr =		div_sockaddr,
>+	.pru_sosend =		sosend,
>+	.pru_soreceive = 	soreceive,
>+	.pru_sopoll =		sopoll,
> 	.pru_sosetlabel		in_pcbsosetlabel
> };
>
>-- 
>RIPE NCC - Delft University of Technology - The FreeBSD Project
>marks@ripe.net - m.a.santcroos@ewi.tudelft.nl - marks@freebsd.org
>_______________________________________________
>freebsd-current@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77381.1100191229>