From: sowmini.varadhan@oracle.com (Sowmini Varadhan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] rds: avoid potential stack overflow
Date: Wed, 11 Mar 2015 17:50:38 -0400 [thread overview]
Message-ID: <20150311215038.GA13663@oracle.com> (raw)
In-Reply-To: <4321699.nNdBmxDHpu@wuerfel>
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@arndb.de>
Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
--Sowmini
WARNING: multiple messages have this Message-ID (diff)
From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: netdev@vger.kernel.org, roland@purestorage.com,
rds-devel@oss.oracle.com, linux-kernel@vger.kernel.org,
chien.yen@oracle.com, linux-arm-kernel@lists.infradead.org,
David Miller <davem@davemloft.net>
Subject: Re: [PATCH v2] rds: avoid potential stack overflow
Date: Wed, 11 Mar 2015 17:50:38 -0400 [thread overview]
Message-ID: <20150311215038.GA13663@oracle.com> (raw)
In-Reply-To: <4321699.nNdBmxDHpu@wuerfel>
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@arndb.de>
Acked-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
--Sowmini
next prev parent reply other threads:[~2015-03-11 21:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-11 21:46 [PATCH v2] rds: avoid potential stack overflow Arnd Bergmann
2015-03-11 21:46 ` Arnd Bergmann
2015-03-11 21:50 ` Sowmini Varadhan [this message]
2015-03-11 21:50 ` Sowmini Varadhan
2015-03-12 4:28 ` David Miller
2015-03-12 4:28 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150311215038.GA13663@oracle.com \
--to=sowmini.varadhan@oracle.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.