netdev
[Top] [All Lists]

Re: [PATCH] ip_gre.c in 2.6.0-test5

To: Michal Ludvig <michal@xxxxxxxx>
Subject: Re: [PATCH] ip_gre.c in 2.6.0-test5
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Thu, 25 Sep 2003 03:56:06 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <3F715732.5060306@xxxxxxxx>
References: <3F715732.5060306@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 24 Sep 2003 10:34:58 +0200
Michal Ludvig <michal@xxxxxxxx> wrote:

> this trivial patch fixes possible kernel crash when using GRE tunnels in 
> 2.6.0-test. The problem was that "dev->init" wasn't set before 
> register_netdevice() call and so the initialization function was never 
> called. Consequently some fields in the tunnel structure were not 
> initialized what finally led to a kernel crash upon receiving the first 
> packet over the GRE tunnel.

Applied, thanks Michal.

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