mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
drivers/net: Kill now superfluous ->last_rx stores.
The generic packet receive code takes care of setting netdev->last_rx when necessary, for the sake of the bonding ARP monitor. Drivers need not do it any more. Some cases had to be skipped over because the drivers were making use of the ->last_rx value themselves. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ab29109210
commit
babcda74e9
211 changed files with 1 additions and 276 deletions
|
@ -84,7 +84,6 @@ static void macvlan_broadcast(struct sk_buff *skb,
|
|||
dev->stats.rx_bytes += skb->len + ETH_HLEN;
|
||||
dev->stats.rx_packets++;
|
||||
dev->stats.multicast++;
|
||||
dev->last_rx = jiffies;
|
||||
|
||||
nskb->dev = dev;
|
||||
if (!compare_ether_addr(eth->h_dest, dev->broadcast))
|
||||
|
@ -133,7 +132,6 @@ static struct sk_buff *macvlan_handle_frame(struct sk_buff *skb)
|
|||
|
||||
dev->stats.rx_bytes += skb->len + ETH_HLEN;
|
||||
dev->stats.rx_packets++;
|
||||
dev->last_rx = jiffies;
|
||||
|
||||
skb->dev = dev;
|
||||
skb->pkt_type = PACKET_HOST;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue