mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
tls: Only use data field in crypto completion function
[ Upstream commit8d338c76f7] The crypto_async_request passed to the completion is not guaranteed to be the original request object. Only the data field can be relied upon. Fix this by storing the socket pointer with the AEAD request. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Stable-dep-of:a2713257ee("tls: Use size_add() in call to struct_size()") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
65e65a8b2d
commit
8ae1873864
2 changed files with 31 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue