HomeFreeBSD

dumpon: Fix unconfiguring netdump with "off" and "/dev/null".

Description

dumpon: Fix unconfiguring netdump with "off" and "/dev/null".

Netdump has its own configuration tracking such that
ioctl(/dev/null, DIOCSKERNELDUMP) does a dumper_remove() but does not
notify netdump about the removal. Simply sending the same ioctl to
/dev/netdump handles the situation.

Reviewed by: markj, cem
Sponsored by: Dell EMC
Differential Revision: https://reviews.freebsd.org/D31300

Details

Provenance
bdreweryAuthored on Jul 24 2021, 9:18 PM
Reviewer
markj
Differential Revision
D31300: dumpon: Fix unconfiguring netdump with "off" and "/dev/null".
Parents
rG372557d8c3d3: dumpon: Fix -v causing error when configuring an encrypted dump
Branches
Unknown
Tags
Unknown