Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262984AbTFGOXA (ORCPT ); Sat, 7 Jun 2003 10:23:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262598AbTFGOXA (ORCPT ); Sat, 7 Jun 2003 10:23:00 -0400 Received: from jstevenson.plus.com ([212.159.71.212]:40851 "EHLO alpha.stev.org") by vger.kernel.org with ESMTP id S262984AbTFGOW6 (ORCPT ); Sat, 7 Jun 2003 10:22:58 -0400 Date: Sat, 7 Jun 2003 16:36:39 +0100 (BST) From: James Stevenson To: chas williams cc: Werner Almesberger , "David S. Miller" , Subject: Re: [PATCH][ATM] use rtnl_{lock,unlock} during device operations (take 2) In-Reply-To: <200306071121.h57BL4sG006740@ginger.cmf.nrl.navy.mil> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1068 Lines: 25 > In message ,James Steven > son writes: > >Think of a latop with a normall ethernet card in it. > >When you unplug the cable it wont disconnect all the tcp > >connection on the interface so that you could re route everything though > >a wireless card. > > if i have a single interface and i physically remove it (not just unplug > the cable) i would be willing to accept that certain tcp connections are > going to die. particularly tcp which might be using keep alives. >From how is understand it the tcp connections should be alive until they try to send data. As soon as they try to send data on a down interface as in they dont have a route any more an icmp packet of host / network unreachable should be generated then the connection can be killed. James - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/