From nobody@FreeBSD.org Fri Jun 12 12:03:47 2009 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 495E5106583B for ; Fri, 12 Jun 2009 12:03:46 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 94DA68FC1A for ; Fri, 12 Jun 2009 12:03:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n5CC3goC037494 for ; Fri, 12 Jun 2009 12:03:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n5CC3gpG037493; Fri, 12 Jun 2009 12:03:42 GMT (envelope-from nobody) Message-Id: <200906121203.n5CC3gpG037493@www.freebsd.org> Date: Fri, 12 Jun 2009 12:03:42 GMT From: Olivier BONHOMME To: freebsd-gnats-submit@FreeBSD.org Subject: Warning message raised by rtfree function in kernel logs X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 135502 >Category: kern >Synopsis: [periodic] Warning message raised by rtfree function in kernel logs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-net >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 12 12:10:01 UTC 2009 >Closed-Date: >Last-Modified: Tue Jun 16 21:30:10 UTC 2009 >Originator: Olivier BONHOMME >Release: 7.2-RELEASE >Organization: >Environment: FreeBSD ares 7.2-RELEASE FreeBSD 7.2-RELEASE #2: Tue May 5 13:23:38 CEST 2009 root@ares:/usr/obj/usr/src/sys/GENERIC amd64 >Description: In a quite randomly way, the following message appears in the kernel logs : Jun 3 03:13:52 ares kernel: rtfree: 0xffffff00690753e0 has 2 refs. This message seems to be enhanced always by the same task because it appears always at the same hour but not every day. This server has several IPv4 and IPv6 addresses. Could this behavior be linked to this thread : http://lists.freebsd.org/pipermail/freebsd-net/2007-August/015153.html I checked the source code and the rtfree function in stead of RTFREE_LOCKED version is called. >How-To-Repeat: Random behavior => Not easily reproductible >Fix: Maybe replacing rtfree by RTFREE_LOCKED as told in the ML thread. >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: vwe Responsible-Changed-When: Tue Jun 16 21:26:38 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). This may happen for gif tunnels and v6 interfaces as cscope suggests there're direct calls to rtfree() from in6_gif.c, in6_ifattach.c and nd6_nbr.c http://www.freebsd.org/cgi/query-pr.cgi?pr=135502 >Unformatted: