Subject: Re: kern/35196: sockets should die if addresses vanish
To: None <gnats-bugs@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 12/07/2006 22:32:54
On Thu, Dec 07, 2006 at 02:25:01AM +0000, perry@piermont.com wrote:
> [...]
> 
> This is quite clearly silly. If you no longer have the address from
> which the packets for the socket putatively originate, you will
> *never* get any reply packets. Your counterparty is *never* going to
> be able to reply to you. The careful timeout machinery is useless.

How do you know you won't get this same IP back later ? Say I have a
USB or pcmcia interface that I plug out and plug back in, the
connections should stay alive in that case.
The timeout mechanism is certainly appropriate in this case.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--