net: another last_rx round
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 2 Sep 2010 16:19:32 +0000 (09:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Sep 2010 16:19:32 +0000 (09:19 -0700)
Kill last_rx use in l2tp and two net drivers

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4vf/sge.c
drivers/net/pxa168_eth.c
net/l2tp/l2tp_eth.c

index eb5a1c9cb2d3b588a309ea9cefc326ef1ee71b81..e00fd9c36e8b6dd608de62f2ed8cc5bbce0dc02d 100644 (file)
@@ -1520,7 +1520,6 @@ int t4vf_ethrx_handler(struct sge_rspq *rspq, const __be64 *rsp,
        __skb_pull(skb, PKTSHIFT);
        skb->protocol = eth_type_trans(skb, rspq->netdev);
        skb_record_rx_queue(skb, rspq->idx);
-       skb->dev->last_rx = jiffies;                  /* XXX removed 2.6.29 */
        pi = netdev_priv(skb->dev);
        rxq->stats.pkts++;
 
index 659915cf6872d42cc6f8ac675297bc6a99287680..764aa90994684e877d52e3a9892a3bbf3d280850 100644 (file)
@@ -848,7 +848,6 @@ static int rxq_process(struct net_device *dev, int budget)
                        skb->protocol = eth_type_trans(skb, dev);
                        netif_receive_skb(skb);
                }
-               dev->last_rx = jiffies;
        }
        /* Fill RX ring with skb's */
        rxq_refill(dev);
index 58c6c4cda73b576cd65d3121a9abdf67bc6f7668..f3468ba3f5cbdd0c262e6cc5f77c176b5cb5d363 100644 (file)
@@ -144,7 +144,6 @@ static void l2tp_eth_dev_recv(struct l2tp_session *session, struct sk_buff *skb,
        nf_reset(skb);
 
        if (dev_forward_skb(dev, skb) == NET_RX_SUCCESS) {
-               dev->last_rx = jiffies;
                dev->stats.rx_packets++;
                dev->stats.rx_bytes += data_len;
        } else