Re: tcp hostcache and ip fastforward for review

From: Andre Oppermann <oppermann_at_pipeline.ch>
Date: Wed, 12 Nov 2003 21:49:46 +0100
Hajimu UMEMOTO wrote:
> 
> Hi,
> 
> >>>>> On Wed, 12 Nov 2003 16:22:38 +0100
> >>>>> Andre Oppermann <oppermann_at_pipeline.ch> said:
> 
> oppermann> Ok, I found the bug. It was in the ipv6 hash function where I made
> oppermann> a mistake with the hashmask.
> oppermann> The updated patch is here:
> oppermann>  http://www.nrg4u.com/freebsd/tcphostcache+ipfastforward-20031112.patch
> oppermann> Could you try again please?
> 
> It does repeatable panic.  Unfortunately, my laptop hanguped during
> dumping core, and I couldn't get core.  So, I copied the output from
> ddb by hand.
-snip-
> Stopped at      in6_selecthlim+0x35:    cmpl    $0,0x1c(%esi)
> db> trace
> in6_selecthlim(0,0,28,0,fadd8ac9) at in6_selecthlim+0x35
> syncache_respond(c3f6f000,c19a0600,1,c19a0600,0) at syncache_respond+0x31c

Grmpf... That is a logic error by me. Please add the following check
on line 707 in the patched netinet6/in6_src.c:

	else if (in6p && !IN6_IS_ADDR_UNSPECIFIED(&in6p->in6p_faddr)) {
                 ^^^^ ^^

Thank you for your effort in testing my changes!

-- 
Andre
Received on Wed Nov 12 2003 - 11:49:50 UTC

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