Subject: Re: Further news on gated 3.5b4 vs. NetBSD-1.2
To: Curt Sampson <>
From: Acee Lindem <>
List: tech-net
Date: 03/20/1997 15:12:51
Curt Sampson wrote:
> I think this is all correct. However, it's very late, I've spent
> far too much time working on this, and it seems very odd that such
> a major problem could go undetected for so long. If I've gotten
> anything wrong here, please let me know. If this analysis is correct,
> and you've got a good solution, let me know about it too, because
> I'm far too tired to think of one right now.

I believe you're correct. The way I'd recommend fixing it would be
to remove the static variable addrinfo from krt_xaddrs() and pass in
a pointer to krt_addrinfo data object in the using function. You could
do this by adding a third argument to krt_xaddrs() and making the
function type void (since you no longer have to return anything).