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
Unknown Object (File)
Mar 19 2024, 4:28 AM
Unknown Object (File)
Mar 19 2024, 2:48 AM
Unknown Object (File)
Mar 11 2024, 7:10 PM
Unknown Object (File)
Mar 11 2024, 7:10 PM
Unknown Object (File)
Mar 11 2024, 7:10 PM
Unknown Object (File)
Mar 8 2024, 3:18 AM
Unknown Object (File)
Jan 9 2024, 12:35 PM
Unknown Object (File)
Jan 4 2024, 11:55 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