kern/121706: "rtfree: 0xc4383870 has 1 refs" emitted repeatedly
Michael Stowe
mstowe at chicago.us.mensa.org
Fri Mar 14 20:20:02 UTC 2008
The following reply was made to PR kern/121706; it has been noted by GNATS.
From: "Michael Stowe" <mstowe at chicago.us.mensa.org>
To: bug-followup at FreeBSD.org, mstowe at 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);
More information about the freebsd-bugs
mailing list