Skip to content

Commit

Permalink
[NIU]: Missing ->last_rx update.
Browse files Browse the repository at this point in the history
Noticed by Paul Lodridge.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jan 9, 2008
1 parent 406f353 commit 792dd90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/niu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 792dd90

Please sign in to comment.