Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2010 17:02:20 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-stable@freebsd.org
Subject:   if_rtdel: error 47
Message-ID:  <201008312102.o7VL2MJr000894@lava.sentex.ca>

next in thread | raw e-mail | index | archive | help
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@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008312102.o7VL2MJr000894>