From owner-cvs-src@FreeBSD.ORG Tue Feb 8 09:04:55 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D17F116A4CE; Tue, 8 Feb 2005 09:04:55 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B796243D41; Tue, 8 Feb 2005 09:04:55 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1894tuP073486; Tue, 8 Feb 2005 09:04:55 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1894taJ073485; Tue, 8 Feb 2005 09:04:55 GMT (envelope-from glebius) Message-Id: <200502080904.j1894taJ073485@repoman.freebsd.org> From: Gleb Smirnoff Date: Tue, 8 Feb 2005 09:04:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/netgraph/netflow netflow.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 09:04:56 -0000 glebius 2005-02-08 09:04:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/netgraph/netflow netflow.c Log: MFC 1.6 and 1.8: Expire aged flows in normal expiry thread. This fixes the problem, when a node disconnected from all sources of traffic never purges its cache. In case of various tunneling protocols, mbuf may pass several interfaces before entering ng_netflow. In this case it will have not NULL m_pkthdr.rcvif. However, it will enter ng_iface soon with another index. So let in_ifIndex value configured by user override m_pkthdr.rcvif. Reported by: Damir Bikmuhametov Revision Changes Path 1.3.2.4 +7 -4 src/sys/netgraph/netflow/netflow.c