Re: tcp hostcache and ip fastforward for review

From: Andre Oppermann <oppermann_at_pipeline.ch>
Date: Wed, 12 Nov 2003 16:22:38 +0100
Hajimu UMEMOTO wrote:
> 
> Hi,
> 
> >>>>> On Tue, 11 Nov 2003 19:26:41 +0100
> >>>>> Andre Oppermann <oppermann_at_pipeline.ch> said:
> 
> oppermann> I have fixed the panic. It was a stupid braino in the test whether
> oppermann> we have to free the allocated route. It was trying to free a null
> oppermann> pointer route which obviously doesn't work. :-^
> 
> oppermann> The updated patch is here:
> 
> oppermann>  http://www.nrg4u.com/freebsd/tcphostcache+ipfastforward-20031111.patch
> 
> oppermann> If you could try again please?
> 
> It panics at another point on boot.
> (kgdb) frame 24
> #24 0xc058e637 in tcp_hc_getmtu (inc=0x0)
>     at /usr/home/ume/cvs/freefall/current/src/sys/netinet/tcp_hostcache.c:420
> 420             hc_entry = tcp_hc_lookup(inc);
> (kgdb)

Ok, I found the bug. It was in the ipv6 hash function where I made
a mistake with the hashmask.

The updated patch is here:

 http://www.nrg4u.com/freebsd/tcphostcache+ipfastforward-20031112.patch

Could you try again please?

I have organized a second IPv6 capable machine (OpenBSD) for testing
and I was able to ssh from my development machine to the OpenBSD via
IPv6 tcp connection. I hope the last update has ironed out all ip6
bugs now.

-- 
Andre
Received on Wed Nov 12 2003 - 06:22:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:28 UTC