Hi, Routing statistics no longer works. # netstat -rs rttrash: symbol not in namelist # freebsd-version 13.0-RC4
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4084b1ab0413d15dab496b1c24c3875601c71438 commit 4084b1ab0413d15dab496b1c24c3875601c71438 Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2021-03-31 20:56:26 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> CommitDate: 2021-03-31 20:59:10 +0000 Fix `netstat -rs` reporting. rttrash (unused but not yet delete entries) were eliminated during routing rework. Remove reading these symbols from the kernel. PR: 254681 Reported by: rashey@superbox.pl MFC after: immediately usr.bin/netstat/nlist_symbols | 1 - usr.bin/netstat/route.c | 13 +------------ 2 files changed, 1 insertion(+), 13 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1260724822b5830411cbf56d48e997be1628e53b commit 1260724822b5830411cbf56d48e997be1628e53b Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2021-03-31 20:56:26 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> CommitDate: 2021-04-04 08:44:01 +0000 Fix `netstat -rs` reporting. rttrash (unused but not yet delete entries) were eliminated during routing rework. Remove reading these symbols from the kernel. PR: 254681 Reported by: rashey@superbox.pl (cherry picked from commit 4084b1ab0413d15dab496b1c24c3875601c71438) usr.bin/netstat/nlist_symbols | 1 - usr.bin/netstat/route.c | 13 +------------ 2 files changed, 1 insertion(+), 13 deletions(-)
Hi! Thank you for submitting the bug report! I missed that part during the route stack rework. Does this patch fix an issue for you?
Yes, it does. Thanks.