summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/niu.c2
1 files changed, 2 insertions, 0 deletions
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;
}