commit | b16520f7493d06d8ef6d4255bdfcf7a803d7874a | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Tue Apr 10 17:52:34 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 12 21:46:10 2018 -0400 |
tree | b3ef990644cc23ce82112531b9737a7618e7d97e | |
parent | 08ea556e14b56e9a49b19abd8e39f0c9e05582f2 [diff] |
net/tls: Remove VLA usage In the quest to remove VLAs from the kernel[1], this replaces the VLA size with the only possible size used in the code, and adds a mechanism to double-check future IV sizes. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Dave Watson <davejwatson@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>