From: "brien o" <brienfwd@onebox.com>
To: linux-kernel@vger.kernel.org
Cc: alan@lxorguk.ukuu.org.uk
Subject: [patch] linux channel bonding driver
Date: Sat, 04 Nov 2000 13:38:25 -0800 [thread overview]
Message-ID: <20001104213854.YNJW22792.mta01.onebox.com@onebox.com> (raw)
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/
reply other threads:[~2000-11-04 21:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001104213854.YNJW22792.mta01.onebox.com@onebox.com \
--to=brienfwd@onebox.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®