diff options
author | Stephan Mueller <smueller@chronox.de> | 2017-08-10 16:40:03 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-08-22 15:03:27 +0800 |
commit | 2d45a7e89833f88b38112292ff227af437f81f2f (patch) | |
tree | eccc3beb0adf527562a4ea61d5aafccea919c24a /drivers/md | |
parent | 32e67b9af077e905388f1746bf429ea0c39b6917 (diff) |
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 'drivers/md')
0 files changed, 0 insertions, 0 deletions