padlock(4): fix instapanics with geli authentication

cryptodev_process implementations are supposed to return 0

PR:		247986
Submitted by:	jhb
MFC after:	1 week
This commit is contained in:
Alan Somers 2020-09-06 19:25:31 +00:00
parent 35f8045f55
commit dbc973ca7a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365389

View File

@ -275,7 +275,7 @@ padlock_process(device_t dev, struct cryptop *crp, int hint __unused)
#endif
crp->crp_etype = error;
crypto_done(crp);
return (error);
return (0);
}
static device_method_t padlock_methods[] = {