HomeFreeBSD

netdump: send key before dump, in case dump fails

Description

netdump: send key before dump, in case dump fails

Previously, if an encrypted netdump failed, such as due to a timeout or
network failure, the key was not saved, so a partial dump was
completely useless.

Send the key first, so the partial dump can be decrypted, because even a
partial dump can be useful.

Reviewed by: bdrewery, markj
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D31453

Details

Provenance
vangyzenAuthored on Aug 6 2021, 3:38 PM
Reviewer
bdrewery
Differential Revision
D31453: netdump: send key before dump, in case dump fails
Parents
rG96f9bd46547d: dumpon: fix encrypted dumps after commit 372557d8c3d
Branches
Unknown
Tags
Unknown