From owner-cvs-all@FreeBSD.ORG Thu Jan 27 14:09:34 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 241CF16A4CE; Thu, 27 Jan 2005 14:09:34 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E67743D5F; Thu, 27 Jan 2005 14:09:34 +0000 (GMT) (envelope-from brian@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 j0RE9XDN035946; Thu, 27 Jan 2005 14:09:33 GMT (envelope-from brian@repoman.freebsd.org) Received: (from brian@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0RE9X5h035945; Thu, 27 Jan 2005 14:09:33 GMT (envelope-from brian) Message-Id: <200501271409.j0RE9X5h035945@repoman.freebsd.org> From: Brian Somers Date: Thu, 27 Jan 2005 14:09:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/ppp ipcp.c ipv6cp.c radius.c radius.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2005 14:09:34 -0000 brian 2005-01-27 14:09:33 UTC FreeBSD src repository Modified files: usr.sbin/ppp ipcp.c ipv6cp.c radius.c radius.h Log: Add a radius_Flush() function that waits for the response (or timeout) to any pending RADIUS transaction. Use this before sending RAD_STOP RADIUS messages so that we definitely ``stop'' the session. It was discovered that sometimes when the link timed out, we got lucky enough to have an un-ACK'd RADIUS accounting transaction in progress, resulting in the RAD_STOP message failing to send. Original report found on: A russion news group Text translated by: glebius Tested by: Alexey Popov llp at iteranet dot com MFC after: 7 days Revision Changes Path 1.123 +1 -0 src/usr.sbin/ppp/ipcp.c 1.17 +1 -0 src/usr.sbin/ppp/ipv6cp.c 1.52 +20 -0 src/usr.sbin/ppp/radius.c 1.21 +1 -0 src/usr.sbin/ppp/radius.h