PERFORCE change 128428 for review
Kip Macy
kmacy at FreeBSD.org
Wed Oct 31 13:00:23 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=128428
Change 128428 by kmacy at kmacy:storage:toestack on 2007/10/31 19:59:40
move notification for arp updates into in_arpinput
Affected files ...
.. //depot/projects/toestack/sys/netinet/if_ether.c#10 edit
Differences ...
==== //depot/projects/toestack/sys/netinet/if_ether.c#10 (text+ko) ====
@@ -415,7 +415,6 @@
sdl->sdl_family == AF_LINK && sdl->sdl_alen != 0) {
bcopy(LLADDR(sdl), desten, sdl->sdl_alen);
- EVENTHANDLER_INVOKE(route_event, RTEVENT_ARP_UPDATE, rt, NULL);
/*
* If entry has an expiry time and it is approaching,
@@ -735,6 +734,7 @@
}
(void)memcpy(LLADDR(sdl), ar_sha(ah),
sdl->sdl_alen = ah->ar_hln);
+
/*
* If we receive an arp from a token-ring station over
* a token-ring nic then try to save the source
@@ -777,6 +777,7 @@
la->la_preempt = arp_maxtries;
hold = la->la_hold;
la->la_hold = NULL;
+ EVENTHANDLER_INVOKE(route_event, RTEVENT_ARP_UPDATE, rt, NULL);
RT_UNLOCK(rt);
if (hold != NULL)
(*ifp->if_output)(ifp, hold, rt_key(rt), rt);
More information about the p4-projects
mailing list