HomeFreeBSD

netdump: check the support status of the interface

Description

netdump: check the support status of the interface

If the interface does not support debugnet(4) we should bail early,
rather than having the user find this out at the time of the panic.
dumpon(8) already expects this return value and will print a helpful
error message.

Reviewed by: cem, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D35180

Details

Provenance
mhorneAuthored on May 14 2022, 1:23 PM
Reviewer
cem
Differential Revision
D35180: netdump: check the support status of the interface
Parents
rGa84bf5eaa10c: debugnet: fix an errant assertion
Branches
Unknown
Tags
Unknown