Re: [PATCH 1/2] net: rds: drop VLA in rds_for_each_conn_info()

From: David Miller
Date: Mon Mar 12 2018 - 15:08:11 EST


From: Salvatore Mesoraca <s.mesoraca16@xxxxxxxxx>
Date: Sun, 11 Mar 2018 22:07:49 +0100

> Avoid VLA[1] by using an already allocated buffer passed
> by the caller.
>
> [1] https://lkml.org/lkml/2018/3/7/621
>
> Signed-off-by: Salvatore Mesoraca <s.mesoraca16@xxxxxxxxx>

Applied.