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)
Fri, Jun 19, 7:06 PM
Unknown Object (File)
Fri, Jun 19, 5:36 PM
Unknown Object (File)
Thu, Jun 4, 11:59 PM
Unknown Object (File)
Wed, Jun 3, 1:59 PM
Unknown Object (File)
May 14 2026, 10:29 AM
Unknown Object (File)
May 14 2026, 5:52 AM
Unknown Object (File)
May 14 2026, 3:55 AM
Unknown Object (File)
May 14 2026, 3:55 AM
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