Module Name: src Committed By: maxv Date: Mon Jan 1 12:09:56 UTC 2018
Modified Files: src/sys/kern: uipc_mbuf.c src/sys/sys: mbuf.h Log Message: Don't use macros, rather inline, much clearer. For the record, I was partly mistaken in my previous commit: even though the macros were local, the function names were still the ones of the real callers. However, setting the name in m_data was not a good thing; this was a valid pointer, and the kernel could execute a long time before figuring out the mbuf was already freed - therefore making debugging more difficult. And information on the caller can be obtained via ddb anyway. To generate a diff of this commit: cvs rdiff -u -r1.174 -r1.175 src/sys/kern/uipc_mbuf.c cvs rdiff -u -r1.172 -r1.173 src/sys/sys/mbuf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.