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

From: Salvatore Mesoraca
Date: Mon Mar 12 2018 - 06:13:24 EST


2018-03-12 8:06 GMT+01:00 santosh.shilimkar@xxxxxxxxxx
<santosh.shilimkar@xxxxxxxxxx>:
> On 3/11/18 2:07 PM, Salvatore Mesoraca wrote:
>>
>> 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>
>> ---
>
> Thanks for both VLA fixes Salvatore.
>
> FWIW, Acked-by: Santosh Shilimkar <santosh.shilimkar@xxxxxxxxxx>

Thank you very much for your time,

Salvatore