if_rtdel: error 47
Li, Qing
qing.li at bluecoat.com
Wed Sep 1 22:32:51 UTC 2010
Hi,
Without seeing your mpd link configuration, I am guessing the IP address
of all of
the local end points of your ppp links is the same IP address. If that's
the case,
the error message is harmless.
The reason being, for ppp links and in pre 8.0 release, if you try
pinging the local
end IP address, you will see packets are leaked out towards the default
gateway.
I fixed this issue by installing a loopback route for the local end.
Since multiple ppp links all having the same local IP address, but only
one such
loopback route is installed, when links are torn down they would try
deleting but
that entry would stay until the final link referring to that
self-pointing route
is gone.
--Qing
> -----Original Message-----
> From: owner-freebsd-stable at freebsd.org [mailto:owner-freebsd-
> stable at freebsd.org] On Behalf Of Mike Tancsa
> Sent: Tuesday, August 31, 2010 2:02 PM
> To: freebsd-stable at freebsd.org
> Subject: if_rtdel: error 47
>
> On a RELENG_8 box from aug 25th, I started seeing a constant spew of
>
> Aug 31 00:17:46 gate8 kernel: if_rtdel: error 47
> Aug 31 00:18:29 gate8 kernel: ifa_del_loopback_route: deletion failed
> Aug 31 00:18:29 gate8 kernel: if_rtdel: error 3
> Aug 31 00:18:29 gate8 last message repeated 2 times
> Aug 31 00:18:37 gate8 kernel: ifa_del_loopback_route: deletion failed
> Aug 31 00:18:37 gate8 kernel: if_rtdel: error 3
> Aug 31 00:18:37 gate8 last message repeated 2 times
> Aug 31 00:18:38 gate8 kernel: ifa_del_loopback_route: deletion failed
> Aug 31 00:18:38 gate8 kernel: if_rtdel: error 3
> Aug 31 00:18:38 gate8 last message repeated 2 times
>
>
> What do they mean and how can I find the cause of it ? The box acts
> as an LNS with about 700 ng interfaces with mpd5.5. ipv6 is enabled
> on this server as well, so I am guessing it might be related to ipv6
> as I havent seen it on the other LNS boxes that have the same setup,
> except no ipv6. It was happily running for a few days until this
> error started showing up ?
>
> The error seems to be in sys/if.c
>
> if_rtdel(struct radix_node *rn, void *arg)
> {
> struct rtentry *rt = (struct rtentry *)rn;
> struct ifnet *ifp = arg;
> int err;
>
> if (rt->rt_ifp == ifp) {
>
> /*
> * Protect (sorta) against walktree recursion
problems
> * with cloned routes
> */
> if ((rt->rt_flags & RTF_UP) == 0)
> return (0);
>
> err = rtrequest_fib(RTM_DELETE, rt_key(rt), rt-
> >rt_gateway,
> rt_mask(rt), rt-
> >rt_flags|RTF_RNH_LOCKED,
> (struct rtentry **) NULL, rt-
> >rt_fibnum);
> if (err) {
> log(LOG_WARNING, "if_rtdel: error %d\n",
err);
> }
> }
>
> return (0);
> }
>
>
>
> ---Mike
>
>
> --------------------------------------------------------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications, mike at sentex.net
> Providing Internet since 1994 www.sentex.net
> Cambridge, Ontario Canada www.sentex.net/mike
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-
> unsubscribe at freebsd.org"
More information about the freebsd-stable
mailing list