PANIC: trap.c

Max Laier max at love2party.net
Mon Feb 16 05:39:36 PST 2004


On Monday 16 February 2004 13:00, Jiri Mikulas wrote:
> Hello
>
> >Can you also provide 'args' and '*dummytag' from the same frame?
> >
> >Thanks in advance.
>
> ~~~cut~~~
> #6  0xc05726c8 in ip_output (m=0xc10f7200, opt=0x0, ro=0xc2abab68,
> flags=1, imo=0x0, inp=0x0) at /usr/src/sys/netinet/ip_output.c:983
> 983             if (sw_csum & CSUM_DELAY_DATA) {
> (kgdb) inspect args
> $1 = {m = 0xc10f7200, oif = 0x0, next_hop = 0x0, rule = 0xc2943800, eh
> = 0x0, ro = 0x1, dst = 0xc2abab40, flags = -1055947264, f_id = { dst_ip
> = 169558539, src_ip = 169542160, dst_port = 64147, src_port = 80, proto
> = 6 '\006', flags = 18 '\022'}, retval = 48}
> (kgdb) inspect *dummytag
> $2 = {m_tag_link = {sle_next = 0x0}, m_tag_id = 15, m_tag_len = 48,
> m_tag_cookie = 0, m_tag_free = 0xc0522614 <_m_tag_free>}
> (kgdb)
> ~~~cut~~~
>
> ok?:)
> Jiri

Well, we hit the dummynet case for sure and should get the proper 
interface pointer from the packet tag. Nothing changed with the 
processing there. The only change I found is, that the presents of a 
dummynet tag in ip_output previously reset flags, which is no longer that 
case. Can you try attached patch to see if that is the issue (from 
reading the code I don't really hope that this will be it, but it's the 
only thing I can come up with atm, sorry.)

-- 
Best regards,				| mlaier at freebsd.org
Max Laier				| ICQ #67774661
http://pf4freebsd.love2party.net/	| mlaier at EFnet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ip_output.c.diff
Type: text/x-diff
Size: 539 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040216/3197bbdd/ip_output.c.bin


More information about the freebsd-current mailing list