The following reply was made to PR misc/159601; it has been noted by GNATS.
From: Svatopluk Kraus <onw...@gmail.com> To: bug-follo...@freebsd.org Cc: Subject: Re: misc/159601: [patch] in_scrubprefix() - loopback route refcount malfunction Date: Tue, 9 Aug 2011 16:07:53 +0200 I'm sorry, the category should be [kern] and correct patch is following: Index: sys/netinet/in.c =================================================================== --- sys/netinet/in.c (revision 224705) +++ sys/netinet/in.c (working copy) @@ -1126,8 +1126,10 @@ RT_LOCK(ia_ro.ro_rt); if (ia_ro.ro_rt->rt_refcnt <= 1) freeit = 1; - else + else if (flags & LLE_STATIC) { RT_REMREF(ia_ro.ro_rt); + target->ia_flags &= ~IFA_RTSELF; + } RTFREE_LOCKED(ia_ro.ro_rt); } if (freeit && (flags & LLE_STATIC)) { _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"