Netdev List
 help / color / mirror / Atom feed
* Call trace related to bonding seen in 2.6.34
@ 2010-06-01 17:45 Narendra_K
  0 siblings, 0 replies; 2+ messages in thread
From: Narendra_K @ 2010-06-01 17:45 UTC (permalink / raw)
  To: netdev; +Cc: fubar

Hello,

Call trace related to bond_mii_monitor  as described in this thread -
http://patchwork.ozlabs.org/patch/41288/ was seen on 2.6.34 kernel.
(Trace is similar to what is described in the post dated 2009-12-17
21:31:36.) The trace is seen when the network service is stopped. The
issue occurs when the network service is started and stopped in quick
succession. 

Bonding device configuration parameters are as below -

Bonding driver version:3.6.0
Mode: balance-alb (issue is also seen with active-backup mode)
Miimon=100
3 slaves with link up and one slave with link down.

Though this requires more thought and investigation, I thought this
could be a good data point. The below change to the bonding driver
seemed to make the issue go away -

drivers/net/bonding/bond_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/bonding/bond_main.c
b/drivers/net/bonding/bond_main.c
index 0075514..f280aaf 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -2408,7 +2408,7 @@ void bond_mii_monitor(struct work_struct *work)
        }

 re_arm:
-       if (bond->params.miimon)
+       if (bond->params.miimon && !bond->kill_timers)
                queue_delayed_work(bond->wq, &bond->mii_work,
 
msecs_to_jiffies(bond->params.miimon));
 out:




Any thoughts ?


With regards,
Narendra K



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-03 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <EDA0A4495861324DA2618B4C45DCB3EE6128C6@blrx3m08.blr.amer.dell.com>
2010-06-03  9:58 ` Call trace related to bonding seen in 2.6.34 Narendra K
2010-06-01 17:45 Narendra_K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox