summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-04-27 10:27:25 -0700
committerPaolo Abeni <pabeni@redhat.com>2026-04-30 09:38:56 +0200
commit48168799896c58d3132822ba8513b10f8d6fe039 (patch)
tree14ddf3bd15d6b7810cb6dc50eef2fb956124efa3 /include/linux/timerqueue.h
parent068f5a00955675f10348986d4809edc4dbc0cae0 (diff)
net/tcp-ao: Use stack-allocated MAC and traffic_key buffers
Now that the maximum MAC and traffic key lengths are statically-known small values, allocate MACs and traffic keys on the stack instead of with kmalloc. This eliminates multiple failure-prone GFP_ATOMIC allocations. Note that some cases such as tcp_ao_prepare_reset() are left unchanged for now since they would require slightly wider changes. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Eric Biggers <ebiggers@kernel.org> Link: https://patch.msgid.link/20260427172727.9310-4-ebiggers@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions