Messages in this thread |  | | | Date | Wed, 6 Feb 2008 12:13:53 +0300 | | From | Evgeniy Polyakov <> | | Subject | Re: [PATCH] Add IPv6 support to TCP SYN cookies | |
On Tue, Feb 05, 2008 at 05:52:31PM -0800, Glenn Griffin (ggriffin.kernel@gmail.com) wrote:
> +static u32 cookie_hash(struct in6_addr *saddr, struct in6_addr *daddr,
> + __be16 sport, __be16 dport, u32 count, int c)
> +{
> + __u32 tmp[16 + 5 + SHA_WORKSPACE_WORDS];
This huge buffer should not be allocated on stack.
--
Evgeniy Polyakov
|  |