On Tue, Aug 04, 2015 at 06:42:04AM -0700, Tadeusz Struk wrote: > On 08/04/2015 06:32 AM, Herbert Xu wrote: > > What if someone calls adf_remove? For a software implementation > > you can prevent the algorithm from going away by holding module > > reference counts. But a device can always be removed and you're > > not going to stop that no matter how many reference counts you > > hold :) > > No way! It is defined as static ;) It's exported as a PCI device, no? PCI devices can be removed at any time through sysfs. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html