Created attachment 234155 [details] patch to apply to tested system I'd like to check if any ports use sb_mcnt/sb_ccnt. Please report any new build failures with attached patch. Thanks!
Exp-run looks fine, I saw 0 new failure
Thanks a lot, Antoine!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=d59bc188d652dfaa06bef9963120aa54c4c68875 commit d59bc188d652dfaa06bef9963120aa54c4c68875 Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2022-05-27 15:19:28 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2022-05-27 15:20:17 +0000 sockbuf: remove unused mbuf counter and cluster counter With M_EXTPG mbufs these two counters already do not represent the reality. As we are moving towards protocol independent socket buffers, which may not even use mbufs at all, the counters become less and less relevant. The only userland seeing them was 'netstat -x'. PR: 264181 (exp-run) Reviewed by: markj Differential revision: https://reviews.freebsd.org/D35334 sys/kern/uipc_debug.c | 2 -- sys/kern/uipc_sockbuf.c | 31 ++++++------------------------- sys/sys/sockbuf.h | 2 -- sys/sys/socketvar.h | 2 -- usr.bin/netstat/inet.c | 13 +++---------- usr.bin/netstat/netstat.1 | 9 ++------- 6 files changed, 11 insertions(+), 48 deletions(-)