Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2011 14:43:32 +0200
From:      Svatopluk Kraus <onwahe@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   a question about <ifa_del_loopback_route: deletion failed> message
Message-ID:  <BANLkTi=p1SYSQs=MtfgkEcWCg58FrNd5=A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

   I've got <ifa_del_loopback_route: deletion failed> message from
ifa_del_loopback_route() called from rip_ctlinput(). Is IFA_RTSELF
flag consistent with ifa_add_loopback_route() and
ifa_del_loopback_route() calls?

   I think that rip_ctlinput() in sys/netinet/raw_ip.c should be
patched to do a check that IFA_RTSELF flag is set before
ifa_del_loopback_route() is called. The proposed check is done in
in_scrubprefix() in sys/netinet/in.c.

   Or exists some reason that it is not a good idea? I've got the
message as nobody calls ifa_add_loopback_route() before
ifa_del_loopback_route().

     Svata



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=p1SYSQs=MtfgkEcWCg58FrNd5=A>