Skip to contentSkip to conversation

1/5 ibmveth fix bonding

PATCH In review Santiago Leon 2 participants 2 messages Oct 25, 2005 – Oct 26, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 1/5 ibmveth fix bonding

This patch updates dev->trans_start and dev->last_rx so that the ibmveth driver can be used with the ARP monitor in the bonding driver.

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

---

drivers/net/ibmveth.c +2 -0
diff -urN a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c
@@ -725,6 +725,7 @@
 	} else {
 		adapter->stats.tx_packets++;
 		adapter->stats.tx_bytes += skb->len;
+		netdev->trans_start = jiffies;
 	}
 
 	do {
@@ -776,6 +777,7 @@
 				adapter->stats.rx_packets++;
 				adapter->stats.rx_bytes += length;
 				frames_processed++;
+				netdev->last_rx = jiffies;
 			}
 		} else {
 			more_work = 0;
Signature · 3 lines
Santiago A. Leon
Power Linux Development
IBM Linux Technology Center
#1 lore raw
Quoted 4 lines · Santiago Leon

This patch updates dev->trans_start and dev->last_rx so that the ibmveth driver can be used with the ARP monitor in the bonding driver.

all patches look OK to me.

all patches except #1 appear to be whitespace-corrupted.

Jeff