summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/NOTES
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2009-10-24 18:49:17 +0000
committerru <ru@FreeBSD.org>2009-10-24 18:49:17 +0000
commite866365bb9dfd64fa7764759cbc1616b429a6739 (patch)
tree47d4cc6bf0dd7b2a81b7f024d71deb2c9bd25592 /sys/netgraph/NOTES
parent4a8797cf0cc40ac45ac79a01d293c2c7a4f16f14 (diff)
downloadFreeBSD-src-e866365bb9dfd64fa7764759cbc1616b429a6739.zip
FreeBSD-src-e866365bb9dfd64fa7764759cbc1616b429a6739.tar.gz
Spell DIAGNOSTIC correctly.
Diffstat (limited to 'sys/netgraph/NOTES')
-rw-r--r--sys/netgraph/NOTES4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/NOTES b/sys/netgraph/NOTES
index 0ddc02f..eb3a54c 100644
--- a/sys/netgraph/NOTES
+++ b/sys/netgraph/NOTES
@@ -76,10 +76,10 @@ Archie's suggestions... :-)
be careful with things like #ifdef INET.
- All nodes assume that all data mbufs have the M_PKTHDR flag set!
The ng_send_data() and related functions should have an
- #ifdef DIAGNOSTICS check to check this assumption for every mbuf.
+ #ifdef DIAGNOSTIC check to check this assumption for every mbuf.
-DONE with INVARIANTS. Framework should test this more.
- More generally, netgraph code should make liberal use of the
- #ifdef DIAGNOSTICS definition.
+ #ifdef DIAGNOSTIC definition.
-INVARIANTS.
- Since data and messages are sent functionally, programmers need
to watch out for infinite feedback loops. Should ng_base.c detect
OpenPOWER on IntegriCloud