Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] 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.

Signed-off-by: Santiago Leon <santil@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

authored by

Santiago Leon and committed by
Jeff Garzik
0abe791e 37ff238d

+2
+2
drivers/net/ibmveth.c
··· 725 725 } else { 726 726 adapter->stats.tx_packets++; 727 727 adapter->stats.tx_bytes += skb->len; 728 + netdev->trans_start = jiffies; 728 729 } 729 730 730 731 do { ··· 777 776 adapter->stats.rx_packets++; 778 777 adapter->stats.rx_bytes += length; 779 778 frames_processed++; 779 + netdev->last_rx = jiffies; 780 780 } 781 781 } else { 782 782 more_work = 0;