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)
Tue, Nov 25, 3:42 AM
Unknown Object (File)
Sat, Nov 22, 1:11 PM
Unknown Object (File)
Fri, Nov 21, 8:18 PM
Unknown Object (File)
Fri, Oct 31, 2:43 PM
Unknown Object (File)
Oct 28 2025, 6:00 PM
Unknown Object (File)
Oct 25 2025, 2:29 PM
Unknown Object (File)
Oct 24 2025, 10:34 AM
Unknown Object (File)
Oct 21 2025, 9:27 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45566
Build 42454: arc lint + arc unit