From: Kenzo Iwami <[EMAIL PROTECTED]>

The value of "downdelay/miimon" and "updelay/miimon" are stored in
slave->delay. The type of downdelay, updelay, and miimon are all int.
However, slave->delay is type short, and it is not possible to store the
value of "downdelay/miimon" or "updelay/miimon" in some cases. (For example,
miimon=1 downdelay=32768)

Signed-off-by: Kenzo Iwami <[EMAIL PROTECTED]>
Acked-by: Jay Vosburgh <[EMAIL PROTECTED]>


diff -urpN linux-2.6.17/drivers/net/bonding/bonding.h
linux-2.6.17_fix/drivers/net/bonding/bonding.h
--- linux-2.6.17/drivers/net/bonding/bonding.h  2006-06-18 10:49:35.000000000 
+0900
+++ linux-2.6.17_fix/drivers/net/bonding/bonding.h      2006-06-19 
16:52:43.000000000
+0900
@@ -149,7 +149,7 @@ struct slave {
        struct net_device *dev; /* first - useful for panic debug */
        struct slave *next;
        struct slave *prev;
-       s16    delay;
+       int    delay;
        u32    jiffies;
        s8     link;    /* one of BOND_LINK_XXXX */
        s8     state;   /* one of BOND_STATE_XXXX */

-- 
VGER BF report: H 0.391544
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to