projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
406f353
)
[NIU]: Missing ->last_rx update.
author
David S. Miller
<davem@davemloft.net>
Sat, 5 Jan 2008 07:52:06 +0000
(23:52 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 9 Jan 2008 07:29:55 +0000
(23:29 -0800)
Noticed by Paul Lodridge.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/niu.c
patch
|
blob
|
history
diff --git
a/drivers/net/niu.c
b/drivers/net/niu.c
index 32ed87d54706eca81644ff2a014453a67c77a135..babb1ef37e3426d1693ab749804d3bc228a6ff4f 100644
(file)
--- 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;
}