aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorBoqun Feng <[email protected]>2023-07-29 18:29:03 -0700
committerMiguel Ojeda <[email protected]>2023-08-07 11:33:33 +0200
commitf39a97d0d8a765268b8de17f2e34393e7cb2cd2d (patch)
tree55c5d2e12293e2bb2f1ab45a13a5bd0762c2ddbb /net/lapb/lapb_subr.c
parent917b2e00b90f7a0f21ab3f28e7cf165825a7aba7 (diff)
rust: allocator: Use krealloc_aligned() in KernelAllocator::alloc
This fixes the potential issue that when KernelAllocator is used, the allocation may be mis-aligned due to SLAB's alignment guarantee. Signed-off-by: Boqun Feng <[email protected]> Reviewed-by: Andreas Hindborg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions