Re: [PATCH][ATM] use rtnl_{lock,unlock} during device operations (take 2)

From: James Stevenson (james@stev.org)
Date: Sat Jun 07 2003 - 10:36:39 EST


> In message <Pine.LNX.4.44.0306071214110.19033-100000@god.stev.org>,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/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:33 EST