Subject: Re: kern/35196: sockets should die if addresses vanish
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 12/07/2006 21:35:03
The following reply was made to PR kern/35196; it has been noted by GNATS.

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: kern/35196: sockets should die if addresses vanish
Date: Thu, 7 Dec 2006 22:32:54 +0100

 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
 --