* [patch] linux channel bonding driver
@ 2000-11-04 21:38 brien o
0 siblings, 0 replies; only message in thread
From: brien o @ 2000-11-04 21:38 UTC (permalink / raw)
To: linux-kernel; +Cc: alan
hi,
here's a patch to make the channel bonding driver not try to
transmit on links that are down. there was a patch made to
2.3.x to do this via checking netif_carrier_ok(). this adds
the functionality to the 2.2.x driver code.
please cc: me in response.
brien
--- linux-2.2.17/drivers/net/bonding.c Fri Nov 3 12:22:33 2000
+++ linux-2.2.17-patched/drivers/net/bonding.c Fri Nov 3 12:24:27
2000
@@ -265,7 +265,7 @@
while (good == 0) {
slave = queue->current_slave->dev;
- if (slave->flags & (IFF_UP|IFF_RUNNING)) {
+ if ((slave->flags & (IFF_UP|IFF_RUNNING)) == (IFF_UP|IFF_RUNNING))
{
skb->dev = slave;
skb->priority = 1;
dev_queue_xmit(skb);
__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-11-04 21:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-04 21:38 [patch] linux channel bonding driver brien o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).