netdev
[Top] [All Lists]

Re: oops in tcp_v4_rcv.

To: manfred@xxxxxxxxxxxxxxxx
Subject: Re: oops in tcp_v4_rcv.
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Wed, 28 May 2003 18:40:54 -0700 (PDT)
Cc: netdev@xxxxxxxxxxx, akpm@xxxxxxxxx, acme@xxxxxxxxxxxxxxxx
In-reply-to: <3ED55F4D.1070306@xxxxxxxxxxxxxxxx>
References: <3ED54DBC.4020203@xxxxxxxxxxxxxxxx> <3ED55F4D.1070306@xxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
   From: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx>
   Date: Thu, 29 May 2003 03:15:57 +0200

   I think I understand now what causes the crash:
   The tcp_ehash assumes that the entries are of the type 'struct inet_sock'.
   But the actual entry is of the type tcp_tw_bucket. And 'sk->inet.daddr' 
   is not shared between both structures.

Thanks for figuring this out.  Indeed, I had suspected the
sock layout change Arnaldo did early in 2.5.x as the main
possible suspect.

I'll try to fix this.

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