On Mon, Nov 06, 2017 at 06:54:29AM -0800, Sean Christopherson wrote: > 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. Yeah, just a sanity check that I'm misinterpreting what I'm seeing :-) Thanks. /Jarkko