logo       

[PATCH] (4/13) aarp - set last_sent: msg#00951

Subject: [PATCH] (4/13) aarp - set last_sent
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>