diff options
| author | Weimin Xiong <xiongwm2026@163.com> | 2026-07-17 10:25:37 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-07-24 16:20:00 -0700 |
| commit | 04026c998c24ac47eb76886b9790c5710b603eb4 (patch) | |
| tree | 903ecc278526c087697bf0e512eb618fb8b7a31a /samples | |
| parent | e2834100751ab80b32a29390fac4c26660b86a9b (diff) | |
| download | linux-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
