Date: Fri, 14 Mar 2008 20:20:02 GMT From: "Michael Stowe" <mstowe@chicago.us.mensa.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/121706: "rtfree: 0xc4383870 has 1 refs" emitted repeatedly Message-ID: <200803142020.m2EKK2od050699@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/121706; it has been noted by GNATS. From: "Michael Stowe" <mstowe@chicago.us.mensa.org> To: bug-followup@FreeBSD.org, mstowe@chicago.us.mensa.org Cc: Subject: Re: kern/121706: "rtfree: 0xc4383870 has 1 refs" emitted repeatedly Date: Fri, 14 Mar 2008 14:52:00 -0500 (CDT) Well, after looking at the backtrace, the solution is (almost) obvious. After applying the patch below, the problem goes away. --- netinet/if_ether.c 2007-10-07 15:44:22.000000000 -0500 +++ netinet/if_ether.c.new 2008-03-14 14:49:15.000000000 -0500 @@ -805,7 +805,7 @@ * over who claims what Ether address. */ if (rt->rt_ifp == ifp) { - rtfree(rt); + RTFREE_LOCKED(rt); goto drop; } (void)memcpy(ar_tha(ah), ar_sha(ah), ah->ar_hln);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803142020.m2EKK2od050699>