Date: Sun, 14 Apr 2002 10:37:35 -0700 (PDT) From: Archie Cobbs <archie@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_pptpgre.c Message-ID: <200204141737.g3EHbZm40162@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204141737.g3EHbZm40162>
