cvs commit: src/sys/netgraph netgraph.h ng_base.c
Gleb Smirnoff
glebius at FreeBSD.org
Wed Nov 2 06:27:28 PST 2005
glebius 2005-11-02 14:27:24 UTC
FreeBSD src repository
Modified files:
sys/netgraph netgraph.h ng_base.c
Log:
Rework the ng_item queueing on nodes:
- Introduce a new flags NGQF_QREADER and NGQF_QWRITER,
which tell how the item should be actually applied,
overriding NGQF_READER/NGQF_WRITER flags.
- Do not differ between pending reader or writer. Use only
one flag that is raised, when there are pending items.
- Schedule netgraph ISR in ng_queue_rw(), so that callers
do not need to do this job.
- Fix several comments.
Submitted by: julian
Revision Changes Path
1.62 +12 -3 src/sys/netgraph/netgraph.h
1.116 +106 -121 src/sys/netgraph/ng_base.c
More information about the cvs-src
mailing list