cvs commit: src/sys/netgraph ng_base.c
Gleb Smirnoff
glebius at FreeBSD.org
Thu Sep 8 07:32:21 PDT 2005
glebius 2005-09-08 14:32:20 UTC
FreeBSD src repository
Modified files:
sys/netgraph ng_base.c
Log:
Fix an item leak, that happens when some node calls ng_callout() two
times consequently, without checking whether callout has been serviced
or not. (ng_pptpgre and ng_ppp were catched in this behavior).
- In ng_callout() save old item before calling callout_reset(). If the
latter has returned 1, then free this item.
- In ng_uncallout() clear c->c_arg.
Problem reported by: Alexandre Kardanev
Revision Changes Path
1.112 +6 -2 src/sys/netgraph/ng_base.c
More information about the cvs-src
mailing list