Commit 792dd90f authored by David S. Miller's avatar David S. Miller

[NIU]: Missing ->last_rx update.

Noticed by Paul Lodridge.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 406f353c
...@@ -2241,6 +2241,8 @@ static int niu_process_rx_pkt(struct niu *np, struct rx_ring_info *rp) ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment