Skip to content

Commit

Permalink
[PATCH] ibmveth fix bonding
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Santiago Leon authored and Jeff Garzik committed Oct 28, 2005
1 parent 37ff238 commit 0abe791
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/ibmveth.c
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,7 @@ static int ibmveth_start_xmit(struct sk_buff *skb, struct net_device *netdev)
} else {
adapter->stats.tx_packets++;
adapter->stats.tx_bytes += skb->len;
netdev->trans_start = jiffies;
}

do {
Expand Down Expand Up @@ -776,6 +777,7 @@ static int ibmveth_poll(struct net_device *netdev, int *budget)
adapter->stats.rx_packets++;
adapter->stats.rx_bytes += length;
frames_processed++;
netdev->last_rx = jiffies;
}
} else {
more_work = 0;
Expand Down

0 comments on commit 0abe791

Please sign in to comment.