HomeFreeBSD

netstat: igmp stats, error on unexpected information, not only warn

Description

netstat: igmp stats, error on unexpected information, not only warn

The igmp stats tend to print two lines of warning for an unexpected
version and length. Despite an invalid version and struct size it
continues to try to do something with the data. Do not try to parse
the remainder of the struct and error on warning.

Note the underlying issue of the data not being available properly
is still there and needs to be fixed seperately.

Reported by: test cases, lwhsu
MFC after: 3 weeks

Details

Committed
bzNov 12 2019, 1:57 PM
Parents
rS354638: teach db_nextframe/x86 about [X]xen_intr_upcall interrupt handler
Branches
Unknown
Tags
Unknown