diff options
author | David Rientjes <[email protected]> | 2019-07-10 13:19:35 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2019-07-16 23:13:48 +0200 |
commit | ffdb07f31252625b7bcbf1f424d7beccff02ba97 (patch) | |
tree | ca21912b745930c66e86cb14826cd5e3476e9597 /net/lapb/lapb_in.c | |
parent | e74bd96989dd42a51a73eddb4a5510a6f5e42ac3 (diff) |
x86/mm: Free sme_early_buffer after init
The contents of sme_early_buffer should be cleared after
__sme_early_enc_dec() because it is used to move encrypted and decrypted
data, but since __sme_early_enc_dec() is __init this buffer simply can be
freed after init.
This saves a page that is otherwise unreferenced after init.
Reported-by: Cfir Cohen <[email protected]>
Signed-off-by: David Rientjes <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions