On Thu, Feb 08, 2007 at 08:11:04PM -0500, Cory Albrecht wrote:
> Feb  8 18:17:36 bytor /bsd: arpresolve: can't allocate llinfo

I had that at one point.  I added this to the kernel to figure out what
it was complaining about so I could fix it.  I then promptly forgot
what the cause was, but I've still got the diff in my local source tree
and it might be of some help to you.

Disclaimer: I normally stay out of sys/ so YMMV.

Index: netinet/if_ether.c
===================================================================
RCS file: /cvs/src/sys/netinet/if_ether.c,v
retrieving revision 1.65
diff -u -p -r1.65 if_ether.c
--- netinet/if_ether.c  21 Aug 2006 21:36:53 -0000      1.65
+++ netinet/if_ether.c  11 Feb 2007 10:43:51 -0000
@@ -392,7 +392,10 @@ arpresolve(ac, rt, m, dst, desten)
                        rt = la->la_rt;
        }
        if (la == 0 || rt == 0) {
-               log(LOG_DEBUG, "arpresolve: can't allocate llinfo\n");
+               log(LOG_DEBUG, "arpresolve: can't allocate llinfo for "
+                   "%s:%s%s\n", inet_ntoa(SIN(dst)->sin_addr),
+                   la == NULL ? " no link address" : "",
+                   rt == NULL ? " no route" : "");
                m_freem(m);
                return (0);
        }

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Reply via email to