Talking about 
http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/netinet/if_arp.c: 
<http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/netinet/if_arp.c:> I 
have a hoster (www.vultr.com) with some strange(?) network setup. All kernels 
(6.1 and 7.0 RC) complain with plenty of log messages highlighted below. They 
screw up dmesg output so I had to comment out the log statement and compile my 
own kernel.

Question: Is this setup something vultr should change, or is our debug logging 
a little bit too pedantic/paranoid so we should consider removing it?

Thanks for insight,
Benjamin




if (create) {
                if (rt->rt_flags & RTF_GATEWAY) {
                        if (log_unknown_network)
                                why = "host is not on local network";
                } else if ((rt->rt_flags & RTF_LLINFO) == 0) {
                        ARP_STATINC(ARP_STAT_ALLOCFAIL);
                        why = "could not allocate llinfo";
                } else
                        why = "gateway route is not ours";
                if (why) {
                        log(LOG_DEBUG, "arplookup: unable to enter address"
                            " for %s@%s on %s (%s)\n", in_fmtaddr(*addr),
                            lla_snprintf(ar_sha(ah), ah->ar_hln),
                            (ifp) ? ifp->if_xname : "null", why);
                }
                if ((rt->rt_flags & RTF_CLONED) != 0) {
                        rtrequest(RTM_DELETE, rt_getkey(rt),
                            rt->rt_gateway, rt_mask(rt), rt->rt_flags, NULL);
                }
        }

Reply via email to