Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 1999 12:39:51 PST
From:      Bill Fenner <fenner@parc.xerox.com>
To:        Joe Greco <jgreco@solaria.sol.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: Lots of arpresolve: can't allocate llinfo for <addr>rt 
Message-ID:  <99Jan11.124000pst.177534@crevenia.parc.xerox.com>
In-Reply-To: Your message of "Mon, 11 Jan 99 12:18:13 PST." <199901112018.OAA07371@aurora.sol.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
Try this patch.  It should either change the error messages to include
an "arplookup" message which might give more info, or fix the problem.

  Bill

Index: if_ether.c
===================================================================
RCS file: /home/ncvs/src/sys/netinet/if_ether.c,v
retrieving revision 1.50
diff -u -r1.50 if_ether.c
--- if_ether.c	1999/01/10 17:40:10	1.50
+++ if_ether.c	1999/01/11 20:37:29
@@ -340,7 +340,7 @@
 	}
 	if (rt)
 		la = (struct llinfo_arp *)rt->rt_llinfo;
-	else {
+	if (la == 0) {
 		la = arplookup(SIN(dst)->sin_addr.s_addr, 1, 0);
 		if (la)
 			rt = la->la_rt;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Jan11.124000pst.177534>