Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760571AbYBFHPt (ORCPT ); Wed, 6 Feb 2008 02:15:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757278AbYBFHPh (ORCPT ); Wed, 6 Feb 2008 02:15:37 -0500 Received: from one.firstfloor.org ([213.235.205.2]:48244 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757217AbYBFHPg (ORCPT ); Wed, 6 Feb 2008 02:15:36 -0500 Date: Wed, 6 Feb 2008 08:50:30 +0100 From: Andi Kleen To: Glenn Griffin Cc: Alan Cox , Evgeniy Polyakov , Andi Kleen , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Add IPv6 support to TCP SYN cookies Message-ID: <20080206075030.GA454@one.firstfloor.org> 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.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 503 Lines: 17 > +static __init int init_syncookies(void) > +{ > + get_random_bytes(syncookie_secret, sizeof(syncookie_secret)); > + return 0; > +} > +module_init(init_syncookies); I didn't think a module could have multiple module_inits. Are you sure that works? -Andi -- 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/