summaryrefslogtreecommitdiff
path: root/crypto/rsa-pkcs1pad.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2017-08-10 16:40:03 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-08-22 15:03:27 +0800
commitfc628d5460223588ea5aff6e038655f2f910e2dd (patch)
tree6a47aa4ee5b919cd09392099ba6cdc9f4b4f9d08 /crypto/rsa-pkcs1pad.c
parent1bb32d90974ab4f5f20d6a636cef18a3bc2c97f1 (diff)
downloadlinux-crypto-fc628d5460223588ea5aff6e038655f2f910e2dd.tar.gz
linux-crypto-fc628d5460223588ea5aff6e038655f2f910e2dd.zip
crypto: af_alg - get_page upon reassignment to TX SGL
When a page is assigned to a TX SGL, call get_page to increment the reference counter. It is possible that one page is referenced in multiple SGLs: - in the global TX SGL in case a previous af_alg_pull_tsgl only reassigned parts of a page to a per-request TX SGL - in the per-request TX SGL as assigned by af_alg_pull_tsgl Note, multiple requests can be active at the same time whose TX SGLs all point to different parts of the same page. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions