Skip to contentSkip to conversation

(4/13) aarp - set last_sent

PATCH New Stephen Hemminger 1 participant 1 message Aug 29, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 (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.

net/appletalk/aarp.c +1 -0
diff -Nru a/net/appletalk/aarp.c b/net/appletalk/aarp.c
@@ -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