tcp hostcache and ip fastforward for review

Andre Oppermann oppermann at pipeline.ch
Wed Nov 12 07:22:42 PST 2003


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


More information about the freebsd-current mailing list