mirror of
https://github.com/adulau/aha.git
synced 2025-01-05 15:43:22 +00:00
[NIU]: Missing ->last_rx update.
Noticed by Paul Lodridge. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
406f353c85
commit
792dd90f11
1 changed files with 2 additions and 0 deletions
|
@ -2241,6 +2241,8 @@ static int niu_process_rx_pkt(struct niu *np, struct rx_ring_info *rp)
|
||||||
skb->protocol = eth_type_trans(skb, np->dev);
|
skb->protocol = eth_type_trans(skb, np->dev);
|
||||||
netif_receive_skb(skb);
|
netif_receive_skb(skb);
|
||||||
|
|
||||||
|
np->dev->last_rx = jiffies;
|
||||||
|
|
||||||
return num_rcr;
|
return num_rcr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue