]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: pcrypt - Fix handling of MAY_BACKLOG requests
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Apr 2026 09:00:50 +0000 (17:00 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Apr 2026 09:29:40 +0000 (17:29 +0800)
commit915b692e6cb723aac658c25eb82c58fd81235110
tree5f621fc2d5d85a60abb8fef5d7974d505bb3f43e
parent8451ab6ad686ffdcdf9ddadaa446a79ab48e5590
crypto: pcrypt - Fix handling of MAY_BACKLOG requests

MAY_BACKLOG requests can return EBUSY.  Handle them by checking
for that value and filtering out EINPROGRESS notifications.

Reported-by: Yiming Qian <yimingqian591@gmail.com>
Fixes: 5a1436beec57 ("crypto: pcrypt - call the complete function on error")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/pcrypt.c