| e4b675c9 | 30-Nov-2020 |
Mark Johnston <[email protected]> |
qat: Initialize the crypto device ID to -1 instead of 0
Otherwise qat_detach() may attempt to deregister an unrelated crypto driver if an error occurs in qat_attach() before crypto_get_driverid() is
qat: Initialize the crypto device ID to -1 instead of 0
Otherwise qat_detach() may attempt to deregister an unrelated crypto driver if an error occurs in qat_attach() before crypto_get_driverid() is called, since 0 is a valid driver ID.
MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate)
show more ...
|