zfs diff on encrypted dataset leaks key reference

Review Request #2451 — Created Nov. 12, 2019 and submitted

jbk
illumos-gate
11947
general

Using the 'zfs diff' command on an encrypted dataset leaks a key reference. On a DEBUG kernel, exporting a zpool w/ a leaked key will trigger an ASSERT

Recreated the issue, then applied fix and ASSERT was no longer triggered. Also ran the zfs test suite as well as (soon to be out for review) zfs diff tests from ZoL.

andy_js
  1. Ship It!
  2. 
      
citrus
  1. Ship It!
  2. 
      
jjelinek
  1. Ship It!
  2. 
      
jbk
Review request changed

Status: Closed (submitted)

Loading...