Page MenuHomeFreeBSD

dumpon: warn if the configured netdump link is down
ClosedPublic

Authored by mhorne on May 13 2022, 5:02 PM.
Tags
None
Referenced Files
F125050692: D35196.diff
Sat, Aug 2, 9:25 PM
Unknown Object (File)
Sat, Jul 26, 1:31 PM
Unknown Object (File)
Sat, Jul 26, 8:13 AM
Unknown Object (File)
Fri, Jul 25, 4:19 PM
Unknown Object (File)
Mon, Jul 14, 4:53 AM
Unknown Object (File)
Sun, Jul 13, 8:12 PM
Unknown Object (File)
Tue, Jul 8, 4:32 AM
Unknown Object (File)
Jul 1 2025, 7:45 PM
Subscribers

Details

Summary

Previously we expected the DIOSKERNELDUMP ioctl to return ENXIO if the
interface was down, but it does not actually do this. Grab the link
status using getifaddrs(3) instead, and downgrade this case from an
error to a warning; the user might bring the link back up at a later
time.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable