Re: [PATCH v2] rds: avoid potential stack overflow

From: Sowmini Varadhan
Date: Wed Mar 11 2015 - 17:51:25 EST


On (03/11/15 22:46), Arnd Bergmann wrote:
>
> The rds_iw_update_cm_id function stores a large 'struct rds_sock' object
> on the stack in order to pass a pair of addresses. This happens to just
> fit withint the 1024 byte stack size warning limit on x86, but just
> exceed that limit on ARM, which gives us this warning:
:
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Sowmini Varadhan <sowmini.varadhan@xxxxxxxxxx>

--Sowmini
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/