summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_options.h
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2005-11-18 19:41:55 +0000
committeremaste <emaste@FreeBSD.org>2005-11-18 19:41:55 +0000
commit50b1ba762b66c4f2056c0aa72e275ba857413419 (patch)
tree70ffc9286f1b85e1efbab4a5dc25d2235777e5d1 /sys/netinet/ip_options.h
parent6a9f60226a136cc0844a8ea5fe441f65d3583302 (diff)
downloadFreeBSD-src-50b1ba762b66c4f2056c0aa72e275ba857413419.zip
FreeBSD-src-50b1ba762b66c4f2056c0aa72e275ba857413419.tar.gz
Add sanity checking for QUEUE(3) lists under INVARIANTS. Races may lead
to list corruption, which can be difficult to unravel in a post-mortem analysis. These checks verify that prev and next pointers are consistent when inserting or removing elements, thus catching any corruption earlier. Also use TRASHIT to break LIST and SLIST link pointers on element removal, from mlaier via -hackers. Reviewed by: mlaier Approved by: rwatson (mentor)
Diffstat (limited to 'sys/netinet/ip_options.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud