mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
ehea: fix last_rx update
Update last_rx in registered device struct instead of in the dummy device. Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
8759cf76e9
commit
6425162179
@ -471,7 +471,7 @@ static struct ehea_cqe *ehea_proc_rwqes(struct net_device *dev,
|
||||
else
|
||||
netif_receive_skb(skb);
|
||||
|
||||
dev->last_rx = jiffies;
|
||||
port->netdev->last_rx = jiffies;
|
||||
} else {
|
||||
pr->p_stats.poll_receive_errors++;
|
||||
port_reset = ehea_treat_poll_error(pr, rq, cqe,
|
||||
|
Loading…
Reference in New Issue
Block a user