Re: Ethernet driver link state propagation to ip stack
From: Paul Jakma
Date: Sat Jan 15 2005 - 00:19:29 EST
On Fri, 14 Jan 2005, Peter Buckingham wrote:
I recently had similar problems (specifically with the e1000
driver). When one hang goes down a send to the other interface will
hang. This was when we were using the same socket to send on both
interfaces, what resulted is that the socket buffer would fill up
and cause the send to block. If you aren't using the same socket to
send out on both interfaces you should be fine. the rather large
hack that i used to get this to work on my system is below.
basically it will not enqueue a packet when the interface is down.
this may well do nasty things to tcp...
There's an old thread on netdev, occasionally resurrected, about this
behaviour btw.
peter
regards,
--
Paul Jakma paul@xxxxxxxx paul@xxxxxxxxx Key ID: 64A2FF6A
Fortune:
I hear what you're saying but I just don't care.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/