Date: Wed, 31 Oct 2007 20:00:22 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 128428 for review Message-ID: <200710312000.l9VK0MnY019510@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=128428 Change 128428 by kmacy@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710312000.l9VK0MnY019510>