K 10 svn:author V 6 donner K 8 svn:date V 27 2021-02-25T08:16:15.027028Z K 7 svn:log V 735 netgraph/ng_bridge: Make simple internal functions read-only The data path in netgraph is designed to work on an read only state of the whole netgraph network. Currently this is achived by convention, there is no technical enforcment. In the case of NETGRAPH_DEBUG all nodes can be annotated for debugging purposes, so the strict enforcment needs to be lifted for this purpose. This patch is part of a series to make ng_bridge multithreaded, which is done by rewrite the data path to operate on const. Reviewed By: kp Differential Revision: https://reviews.freebsd.org/D28141 (cherry picked from commit 6117aa58fa4f5891badf58b13c759976983f4f04) Git Hash: 3de9c792eebe77ef2cdf1f6aad28cc4df9e8c37d Git Author: donner@FreeBSD.org END