Page MenuHomeFreeBSD

dumpon: warn if the configured netdump link is down
ClosedPublic

Authored by mhorne on May 13 2022, 5:02 PM.

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 OK
Unit
No Unit Test Coverage
Build Status
Buildable 45566
Build 42454: arc lint + arc unit