diff options
| author | Kees Cook <[email protected]> | 2018-08-03 16:37:45 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-08-03 19:54:54 +0000 |
| commit | a394b3af206c211b80b02e47c19aab763fd33b3d (patch) | |
| tree | 5058bafa271239982d6b2776fb716947eb816978 /net/core/utils.c | |
| parent | rxrpc: Push iov_iter up from rxrpc_kernel_recv_data() to caller (diff) | |
| download | kernel-a394b3af206c211b80b02e47c19aab763fd33b3d.tar.gz kernel-a394b3af206c211b80b02e47c19aab763fd33b3d.zip | |
ppp: mppe: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this
removes the discouraged use of AHASH_REQUEST_ON_STACK (and associated
VLA) by switching to shash directly and keeping the associated descriptor
allocated with the regular state on the heap.
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Signed-off-by: Kees Cook <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions
