[NIU]: Missing ->last_rx update.
authorDavid S. Miller <davem@davemloft.net>
Sat, 5 Jan 2008 07:52:06 +0000 (23:52 -0800)
committerDavid 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

index 32ed87d54706eca81644ff2a014453a67c77a135..babb1ef37e3426d1693ab749804d3bc228a6ff4f 100644 (file)
@@ -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;
 }