[PATCH v2] rds: avoid potential stack overflow

Sowmini Varadhan sowmini.varadhan at oracle.com
Wed Mar 11 14:50:38 PDT 2015


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 at arndb.de>

Acked-by: Sowmini Varadhan <sowmini.varadhan at oracle.com>

--Sowmini



More information about the linux-arm-kernel mailing list