a question about <ifa_del_loopback_route: deletion failed> message

From: Svatopluk Kraus <onwahe_at_gmail.com>
Date: Wed, 29 Jun 2011 14:43:32 +0200
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
Received on Wed Jun 29 2011 - 11:08:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC