netdev
[Top] [All Lists]

[PATCH 2.6.12-rc2 r17/17] bonding: dprintks

To: fubar@xxxxxxxxxx, bonding-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [PATCH 2.6.12-rc2 r17/17] bonding: dprintks
From: Radheka Godse <radheka.godse@xxxxxxxxx>
Date: Fri, 8 Apr 2005 17:14:57 -0700 (PDT)
Cc: netdev@xxxxxxxxxxx
Replyto: "Radheka Godse" <radheka.godse@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Really trivial dprintk to know when last slave leaves the bond.

Signed-off-by: Radheka Godse <radheka.godse@xxxxxxxxx>

diff -urN -X dontdiff linux-2.6.12-rc2clean/drivers/net/bonding/bond_main.c 
linux-2.6.12-rc2/drivers/net/bonding/bond_main.c
--- linux-2.6.12-rc2clean/drivers/net/bonding/bond_main.c       2005-04-07 
11:24:41.000000000 -0700
+++ linux-2.6.12-rc2/drivers/net/bonding/bond_main.c    2005-04-07 
14:35:41.000000000 -0700
@@ -2160,6 +2160,7 @@
        }

        if (bond->slave_cnt == 0) {
+            dprintk("last slave removed\n");
                /* if the last slave was removed, zero the mac address
                 * of the master so it will be set by the application
                 * to the mac address of the first slave


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 2.6.12-rc2 r17/17] bonding: dprintks, Radheka Godse <=