netdev
[Top] [All Lists]

[PATCH] (4/13) aarp - set last_sent

To: Jay Schulist <jschlst@xxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>
Subject: [PATCH] (4/13) aarp - set last_sent
From: Stephen Hemminger <shemminger@xxxxxxxx>
Date: Fri, 29 Aug 2003 14:01:59 -0700
Cc: netdev@xxxxxxxxxxx
Organization: Open Source Development Lab
Sender: netdev-bounce@xxxxxxxxxxx
Aarp has a field for last_sent which is used in the /proc/net/aarp
display, but it is never set.

diff -Nru a/net/appletalk/aarp.c b/net/appletalk/aarp.c
--- a/net/appletalk/aarp.c      Fri Aug 29 13:30:20 2003
+++ b/net/appletalk/aarp.c      Fri Aug 29 13:30:20 2003
@@ -145,6 +145,7 @@
        aarp_dl->request(aarp_dl, skb, aarp_eth_multicast);
        /* Update the sending count */
        a->xmit_count++;
+       a->last_sent = jiffies;
 }
 
 /* This runs under aarp_lock and in softint context, so only atomic memory

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] (4/13) aarp - set last_sent, Stephen Hemminger <=