netdev
[Top] [All Lists]

Re: two ipv6 oops on 2.3.31

To: lordbeatnik@xxxxxxxxxxxxxx (David Jeffery lordbeatnik)
Subject: Re: two ipv6 oops on 2.3.31
From: kuznet@xxxxxxxxxxxxx
Date: Wed, 15 Dec 1999 18:01:46 +0300 (MSK)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <199912150024.QAA06037@xxxxxxxxxxxxxxxx> from "David Jeffery, lordbeatnik" at Dec 15, 99 04:13:02 am
Sender: owner-netdev@xxxxxxxxxxx
Hello!

> I've just joined this mailing list, so if these problems are already known,
> sorry for the wasted bandwidth.

Congratulations! You joined in time. Seems, you are the first user
of IPv6 with 2.3. 8) Please, do not disappear. 8)


>       once I try to connect and talk to it, the kernel will die with
>                       "aiee, killing interupt handler, etc"

I think this was fixed by:

diff -ur --new-file ../2.3.32/linux/net/ipv6/tcp_ipv6.c 
linux/net/ipv6/tcp_ipv6.c
--- ../2.3.32/linux/net/ipv6/tcp_ipv6.c Fri Nov 19 22:33:29 1999
+++ linux/net/ipv6/tcp_ipv6.c   Tue Dec 14 22:08:26 1999
@@ -273,8 +271,8 @@
                        }
                }
        }
-       if (sk)
-               sock_hold(sk);
+       if (result)
+               sock_hold(result);
        read_unlock(&tcp_lhash_lock);
        return result;
 }



> With a stock 2.3.31, I can create a kernel oops by having an ipv6 program
>       try to bind to a udp port.

I do not remember such bug... Please, send testing program and oops
with symbolic information.


Alexey Kuznetsov

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