HomeFreeBSD

Fix an issue of net.inet.igmp.stats handler.

Description

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

Details

Provenance
hrsAuthored on
Parents
rS358729: compat: Allow explicit overriding of COMPAT_ARCH and COMPAT_CPUTYPE
Branches
Unknown
Tags
Unknown