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

Ryan Anderson (ryan@michonline.com)
Sat, 7 Jun 2003 14:18:19 -0400


On Fri, Jun 06, 2003 at 11:59:46PM -0700, David S. Miller wrote:
> From: chas williams <chas@cmf.nrl.navy.mil>
> Date: Fri, 06 Jun 2003 20:45:51 -0400
>
> really? if i remove my ethernet interface i expect all the
> connections to die.
>
> Nope, this actually works.
>
> Many a moon ago, we did this wrong and yes the TCP connections
> died.
>
> But these days, definitely if you bring the interface back up
> with the same IP addresses, it just works and the connections
> recover.

FWIW, I seem to recall Windows doing this in older version, but with XP
it's very good about noticing link death, and killing things off.

I like the "correct" behavior much better, especially when dealing with
a combination of ethernet cables that have finicky ends and laptops that
get moved a little bit. (Poof - cable slips out, all connections drop,
waste 5 minutes getting things retarted.)

-- 

Ryan Anderson sometimes Pug Majere - 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/