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

2015-03-11 Thread David Miller
From: Arnd Bergmann Date: Wed, 11 Mar 2015 22:46:59 +0100 > 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

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

2015-03-11 Thread Sowmini Varadhan
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 g

[PATCH v2] rds: avoid potential stack overflow

2015-03-11 Thread Arnd Bergmann
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: net/rds/iw_rdma.c:200:1: warni