From owner-cvs-src@FreeBSD.ORG Fri Jul 16 00:07:44 2004 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 C3E4516A4CE; Fri, 16 Jul 2004 00:07:44 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A53CB43D46; Fri, 16 Jul 2004 00:07:44 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6G07iJW075644; Fri, 16 Jul 2004 00:07:44 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6G07i6Y075643; Fri, 16 Jul 2004 00:07:44 GMT (envelope-from glebius) Message-Id: <200407160007.i6G07i6Y075643@repoman.freebsd.org> From: Gleb Smirnoff Date: Fri, 16 Jul 2004 00:07:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netgraph ng_ppp.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: Fri, 16 Jul 2004 00:07:44 -0000 glebius 2004-07-16 00:07:44 UTC FreeBSD src repository Modified files: sys/netgraph ng_ppp.c Log: Use qsort_r() instead of qsort() when sorting links by latency This helps us to remove a global variable and a mutex protecting it. Reviewed by: rwatson Approved by: julian (mentor) Revision Changes Path 1.50 +5 -20 src/sys/netgraph/ng_ppp.c