tcp hostcache and ip fastforward for review

Hajimu UMEMOTO ume at
Wed Nov 12 12:31:21 PST 2003


>>>>> On Wed, 12 Nov 2003 16:22:38 +0100
>>>>> Andre Oppermann <oppermann at> 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> 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.

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x1c
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc05b68c5
stack pointer		= 0x10:0xd208ea28
frame pointer		= 0x10:0xd208ea64
code segment		= base 0x0, limit 0xffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 27 (swi1: net)
kernel: type 12 trap, code=0
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
syncache_add(d208eb80,d208ebf4,c1fc4836,d208eb4c,c19a0600) at syncache_add+0x4f4
tcp_input(c19a0600,28,0,d208ec40,6) at tcp_input+0xdae
tcp6_input(d208ec84,d208ec60,6,d208ec84,28) at tcp6_input+0xf5
ip6_input(c19a0600,d018930f,39d40a1e,c0724474,0) at ip6_input+0xc18
netisr_processqueue(c06f0484,aa,7b1c1ccb,351110b4,c050250d) at netisr_processqueue+0xd9
swi_net(0,0,0,0,c199254c) at swi_net+0xd9
ithread_loop(c1988580,d208ed48,4d,55ff44fd,0) at ithread_loop+0x1d8
fork_exit(c04e4d90,c1988580,d208ed48) at fork_exit+0x80
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd208ed7c, ebp = 0 ---


Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at  ume at  ume@{,jp.}

More information about the freebsd-current mailing list