Summary: | netstat -sz clears igmp version in kernel memory. Subsequent netstat -s reports igmp version error | ||
---|---|---|---|
Product: | Base System | Reporter: | ghuckriede |
Component: | kern | Assignee: | Hiroki Sato <hrs> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | emaste, hrs |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
ghuckriede
2020-03-03 22:05:45 UTC
Take. A commit references this bug: Author: hrs Date: Sat Mar 7 08:41:11 UTC 2020 New revision: 358730 URL: https://svnweb.freebsd.org/changeset/base/358730 Log: Fix an issue of net.inet.igmp.stats handler. The header of (struct igmpstat) could be cleared by sysctl(3). This can be reproduced by "netstat -s -z -p igmp". PR: 244584 MFC after: 1 week Changes: head/sys/netinet/igmp.c head/usr.bin/netstat/inet.c Was committed prior to stable/13 branch, not merged to stable/12. hrs@ should we merge it there too? |