From: David S. Miller Date: Sat, 5 Jan 2008 07:52:06 +0000 (-0800) Subject: [NIU]: Missing ->last_rx update. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=792dd90f114a48c210c566f3642b26f699702cb7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [NIU]: Missing ->last_rx update. Noticed by Paul Lodridge. Signed-off-by: David S. Miller --- diff --git a/drivers/net/niu.c b/drivers/net/niu.c index 32ed87d54706..babb1ef37e34 100644 --- a/drivers/net/niu.c +++ b/drivers/net/niu.c @@ -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); netif_receive_skb(skb); + np->dev->last_rx = jiffies; + return num_rcr; }