netdev
[Top] [All Lists]

Re: oops in ip_rcv

To: "David S. Miller" <davem@xxxxxxxxxxxxx>
Subject: Re: oops in ip_rcv
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 6 May 2005 07:44:53 +1000
Cc: Anton Blanchard <anton@xxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20050505213740.GB29526@xxxxxxxxxxxxxxxxxxx>
References: <20050505101542.GB7916@krispykreme> <E1DTeis-0005gu-00@xxxxxxxxxxxxxxxxxxxxxxxx> <20050505130904.GA16593@krispykreme> <20050505112624.3ffd7f3d.davem@xxxxxxxxxxxxx> <20050505213740.GB29526@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
On Fri, May 06, 2005 at 07:37:40AM +1000, herbert wrote:
> 
> Could we delay the call of dev_add_pack(&ip_packet_type) until
> the very end of inet_init? That way we're guaranteed to not
> receive anything until it's ready.

This patch should do the trick.

Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Attachment: p
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>