summaryrefslogtreecommitdiffstats
path: root/rpm/generic/zfs-kmod.spec.in
diff options
context:
space:
mode:
authorTom Caputi <[email protected]>2017-10-03 13:18:45 -0400
committerTom Caputi <[email protected]>2017-10-11 16:58:39 -0400
commit2637dda8f80dbd49dd0512c74108ff977dfb8c7b (patch)
tree447d76fcae7248e918e6d82755ca9c1a1e1affef /rpm/generic/zfs-kmod.spec.in
parentb135b9f11ad15823d92f8ca3f40fcdd91690677d (diff)
Fix for #6706
This patch resolves an issue where raw sends would fail to send encryption parameters if the wrapping key was unloaded and reloaded before the data was sent and the dataset wass not an encryption root. The code attempted to lookup the values from the wrapping key which was not being initialized upon reload. This change forces the code to lookup the correct value from the encryption root's DSL Crypto Key. Unfortunately, this issue led to the on-disk DSL Crypto Key for some non-encryption root datasets being left with zeroed out encryption parameters. However, this should not present a problem since these values are never looked at and are overrwritten upon changing keys. This patch also fixes an issue where raw, resumable sends were not being cleaned up appropriately if an invalid DSL Crypto Key was received. Signed-off-by: Tom Caputi <[email protected]>
Diffstat (limited to 'rpm/generic/zfs-kmod.spec.in')
0 files changed, 0 insertions, 0 deletions