From owner-cvs-all Sun Apr 14 10:37:39 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 833BC37B400; Sun, 14 Apr 2002 10:37:35 -0700 (PDT) Received: (from archie@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3EHbZm40162; Sun, 14 Apr 2002 10:37:35 -0700 (PDT) (envelope-from archie) Message-Id: <200204141737.g3EHbZm40162@freefall.freebsd.org> From: Archie Cobbs Date: Sun, 14 Apr 2002 10:37:35 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_pptpgre.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG archie 2002/04/14 10:37:35 PDT Modified files: sys/netgraph ng_pptpgre.c Log: Use 'struct callout' instead of 'struct callout_handle' to avoid exhausting the kernel timeout table. Perform the usual gymnastics to avoid race conditions between node shutdown and timeouts occurring. Also fix a bug in handling ack delays < PPTP_MIN_ACK_DELAY. Before, we were ack'ing immediately. Instead, just impose a minimum ack delay time, like the name of the macro implies. MFC after: 1 week Revision Changes Path 1.23 +81 -25 src/sys/netgraph/ng_pptpgre.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message