diff options
author | ru <ru@FreeBSD.org> | 2009-10-24 18:49:17 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2009-10-24 18:49:17 +0000 |
commit | e866365bb9dfd64fa7764759cbc1616b429a6739 (patch) | |
tree | 47d4cc6bf0dd7b2a81b7f024d71deb2c9bd25592 /sys/netgraph | |
parent | 4a8797cf0cc40ac45ac79a01d293c2c7a4f16f14 (diff) | |
download | FreeBSD-src-e866365bb9dfd64fa7764759cbc1616b429a6739.zip FreeBSD-src-e866365bb9dfd64fa7764759cbc1616b429a6739.tar.gz |
Spell DIAGNOSTIC correctly.
Diffstat (limited to 'sys/netgraph')
-rw-r--r-- | sys/netgraph/NOTES | 4 |
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 |