Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761890AbYBFJQr (ORCPT ); Wed, 6 Feb 2008 04:16:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760266AbYBFJQd (ORCPT ); Wed, 6 Feb 2008 04:16:33 -0500 Received: from relay.2ka.mipt.ru ([194.85.82.65]:34139 "EHLO 2ka.mipt.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760270AbYBFJQb (ORCPT ); Wed, 6 Feb 2008 04:16:31 -0500 Date: Wed, 6 Feb 2008 12:13:53 +0300 From: Evgeniy Polyakov To: Glenn Griffin Cc: Alan Cox , Andi Kleen , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Add IPv6 support to TCP SYN cookies Message-ID: <20080206091353.GA12927@2ka.mipt.ru> References: <20080205220510.09258826@core> <47a91136.24528c0a.1f6d.ffffa476@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47a91136.24528c0a.1f6d.ffffa476@mx.google.com> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 594 Lines: 16 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/