Date: Tue, 03 Mar 2020 22:05:45 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 244584] netstat -sz clears igmp version in kernel memory. Subsequent netstat -s reports igmp version error Message-ID: <bug-244584-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244584 Bug ID: 244584 Summary: netstat -sz clears igmp version in kernel memory. Subsequent netstat -s reports igmp version error Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ghuckriede@blackberry.com Overview: When netstat clears the socket stats it causes the igmp version to be clear= ed also. This causes the display of the igmp stats to display an error. Steps to Reproduce: # netstat -sz # netstat -sp igmp Actual Results: After running netstat with "-sz" any subsequent display of the igmp protocol will result in the following error messages being displayed netstat: igmp_stats: version mismatch (0 !=3D 3) Expected Results: No error message after clearing stats Build Date & Hardware: 12.0 FreeBSD FreeBSD_12.0_ghuckriede 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GEN= ERIC amd64 HEAD uname -a FreeBSD FreeBSD_head_ghuckriede 13.0-CURRENT FreeBSD 13.0-CURRENT #2 r35859= 2: Tue Mar 3 15:38:05 EST 2020=20=20=20=20 ghuckriede@FreeBSD_head_ghuckriede:/usr/obj/usr/src/amd64.amd64/sys/GENERIC= =20 amd64 Additional Information: Using a debugger shows that the entire igmpstat structure is getting cleared after the netstat -sz command. The define for igmpstat is here https://svnweb.freebsd.org/base/head/sys/netinet/igmp.c?revision=3D358013&v= iew=3Dmarkup&pathrev=3D358013#l234 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244584-227>