summaryrefslogtreecommitdiff
path: root/drivers/net/niu.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-01-05 10:52:06 +0300
committerDavid S. Miller <davem@davemloft.net>2008-01-09 10:29:55 +0300
commit792dd90f114a48c210c566f3642b26f699702cb7 (patch)
treea8ce3b5d37bd698110037e89ca2b15af2eeeb864 /drivers/net/niu.c
parent406f353c857e4b2dbddb7cd20c67941d829b8b15 (diff)
downloadlinux-792dd90f114a48c210c566f3642b26f699702cb7.tar.xz
[NIU]: Missing ->last_rx update.
Noticed by Paul Lodridge. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/niu.c')
-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;
}