mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
[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>
This commit is contained in:
parent
37ff238d68
commit
0abe791e94
1 changed files with 2 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue