diff options
author | Christophe Leroy <[email protected]> | 2019-01-08 06:56:46 +0000 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2019-01-10 21:37:32 +0800 |
commit | c56c2e173773097a248fd3bace91ac8f6fc5386d (patch) | |
tree | 8f0314f11fe049e32c8dde77fcb2e0141f889a16 /net/lapb/lapb_subr.c | |
parent | 6db43410179bc40419a9859ebb333f178a49829d (diff) |
crypto: talitos - reorder code in talitos_edesc_alloc()
This patch moves the mapping of IV after the kmalloc(). This
avoids having to unmap in case kmalloc() fails.
Signed-off-by: Christophe Leroy <[email protected]>
Reviewed-by: Horia Geantă <[email protected]>
Cc: [email protected]
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions