netdev
[Top] [All Lists]

source address selection

To: kuznet@xxxxxxxxxxxxx
Subject: source address selection
From: Takeshi Kusune / 楠根雄志 <kusune@xxxxxxxxxxxxxx>
Date: Thu, 16 Dec 1999 08:51:34 +0900
Cc: netdev@xxxxxxxxxxx
In-reply-to: Your message of "Wed, 15 Dec 1999 18:01:46 JST." <199912151501.SAA02381@ms2.inr.ac.ru>
Sender: owner-netdev@xxxxxxxxxxx
Hi, Alex.

In message <199912151501.SAA02381@xxxxxxxxxxxxx>
   Subject: Re: two ipv6 oops on 2.3.31
    kuznet@xxxxxxxxxxxxx wrote:

 >> >   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

That's a nice early X'mas gift :), Thank you.


BTW, I think that Linux's current IPv6 code is not enough to work with
multi-addressed network, because of weakness in source address selection.

I made a quick hacked code about longest match for srcaddr selection.
Please join this code (or like this) to current code.

(In fact, this code is originally written for 2.2.13 kernel,
 and tested with it (works fine).
 I try to fixed it for 2.3.31 but it is not tested well.)
--
Takeshi Kusune <kusune@xxxxxxxxxxxxxx>
# Sorry for my poor english.

Attachment: longest-match.for-2.3.31.diff
Description: Binary data

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