diff options
author | julian <julian@FreeBSD.org> | 2001-03-10 16:31:00 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2001-03-10 16:31:00 +0000 |
commit | 2b70619e177bb5a012baa26cc4f520766d037a52 (patch) | |
tree | 5b02cb5e154f1094a992496af0e4581afaeeb639 /release | |
parent | ca954435e84ede78ec241e0d4e8b5576369ced9e (diff) | |
download | FreeBSD-src-2b70619e177bb5a012baa26cc4f520766d037a52.zip FreeBSD-src-2b70619e177bb5a012baa26cc4f520766d037a52.tar.gz |
netgraph.h:
Change a prototype.
Add a function version of ng_ref_node() when debugging so
a breakpoint can be set on it.
ng_base.c:
add 'node' as an argument to ng_apply_item so that it is up
to the caller to take over and release the item's reference on
the node. If the release reports back that the node went away
due to the reference going to 0, the caller should cease referencing
the now defunct node. (e.g. the item was a 'kill node' message).
Alter ng_unref_node to report back the residual references as a result.
ng_pptpgre.c:
Don't reference a node after we dropped a reference to it.
(What if it was the last?)
Fixes a node leak reported by Harti Brandt <brandt@fokus.gmd.de>
which was due to an incorrect earlier attempt to fix the
"accessing node after dropping the last reference" problem.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions