On Mon, 2017-11-06 at 13:39 +0200, Jarkko Sakkinen wrote: > On Thu, Nov 02, 2017 at 01:10:29PM -0700, Sean Christopherson wrote: > > > > + list_for_each_entry(entry, &sgx_free_list, list) > > kfree(entry); > > - } > Shouldn't you iterate 'epc_pages' in the rollback now? Yes, that's the intent, nice catch.