| 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@intel.com> |
| 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> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2.6.12-rc2 r16/17] bonding: version, date and log update, Radheka Godse |
|---|---|
| Next by Date: | Re: [PATCH 2.6.12-rc2 0/17] bonding: sysfs interface..., Jay Vosburgh |
| Previous by Thread: | [PATCH 2.6.12-rc2 r16/17] bonding: version, date and log update, Radheka Godse |
| Next by Thread: | [patch 1/1] drivers/net/: Use the DMA_{64,32}BIT_MASK constants, domen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |