summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorWeimin Xiong <xiongwm2026@163.com>2026-07-17 10:25:37 +0800
committerJakub Kicinski <kuba@kernel.org>2026-07-24 16:20:00 -0700
commit04026c998c24ac47eb76886b9790c5710b603eb4 (patch)
tree903ecc278526c087697bf0e512eb618fb8b7a31a /samples
parente2834100751ab80b32a29390fac4c26660b86a9b (diff)
downloadlinux-next-04026c998c24ac47eb76886b9790c5710b603eb4.tar.gz
linux-next-04026c998c24ac47eb76886b9790c5710b603eb4.zip
net/rds: use krealloc_array() for iovector growth
Use krealloc_array() for growing the RDS iovector array. This makes the array allocation overflow-safe and derives the element size from the array pointer. Reviewed-by: Allison Henderson <achender@kernel.org> Signed-off-by: Weimin Xiong <xiongwm2026@163.com> Link: https://patch.msgid.link/20260717022537.331863-1-xiongwm2026@163.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions