* Badness in dst_release
@ 2004-12-16 7:46 Jeff Garzik
2004-12-18 7:24 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Garzik @ 2004-12-16 7:46 UTC (permalink / raw)
To: Netdev
Cc: Herbert Xu, Arnaldo Carvalho de Melo,
YOSHIFUJI Hideaki / 吉藤英明,
David S. Miller
After a week or more of uptime, the "Badness in dst_release" messages
started again. Kernel 2.6.10-rc3-bk2. The first message is below.
Arnaldo and Yoshifuji should have already have access to this machine
(although I just rebooted into -bk-latest)
IMO, if you want additional debugging code, add some non-intrusive
checks in the upstream kernel. Since this problem doesn't appear for a
while, additional checks would be useful.
Badness in dst_release at include/net/dst.h:149
[<f8c1124d>] ip6_dst_check+0x64/0x6a [ipv6]
[<f8c080da>] ip6_dst_lookup+0x1a7/0x1c1 [ipv6]
[<f8c1a4e6>] udpv6_sendmsg+0x297/0x931 [ipv6]
[<c03194ef>] udp_recvmsg+0x60/0x2e9
[<c032086d>] inet_sendmsg+0x4d/0x59
[<c02d33d8>] sock_sendmsg+0xe8/0x103
[<c011bb37>] find_busiest_group+0xcf/0x2db
[<c011bfb9>] load_balance_newidle+0x36/0xb4
[<c01ec15c>] copy_from_user+0x42/0x6e
[<c0133fd2>] autoremove_wake_function+0x0/0x57
[<c02d4cf6>] sys_sendmsg+0x189/0x1e6
[<c0355e24>] schedule_timeout+0xbd/0xbf
[<c0134a47>] unqueue_me+0x5a/0xa5
[<c0133dda>] add_wait_queue+0x1a/0x46
[<c0134be4>] futex_wait+0x152/0x170
[<c014ecd4>] find_extend_vma+0x29/0x7e
[<c011c7d5>] default_wake_function+0x0/0x12
[<c01346e0>] futex_wake+0x74/0xc4
[<c01ec15c>] copy_from_user+0x42/0x6e
[<c02d5180>] sys_socketcall+0x236/0x254
[<c0102f0d>] sysenter_past_esp+0x52/0x71
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Badness in dst_release
2004-12-16 7:46 Badness in dst_release Jeff Garzik
@ 2004-12-18 7:24 ` Herbert Xu
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2004-12-18 7:24 UTC (permalink / raw)
To: Jeff Garzik
Cc: Netdev, Arnaldo Carvalho de Melo,
YOSHIFUJI Hideaki / ????????????, David S. Miller
[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]
On Thu, Dec 16, 2004 at 02:46:29AM -0500, Jeff Garzik wrote:
>
> After a week or more of uptime, the "Badness in dst_release" messages
> started again. Kernel 2.6.10-rc3-bk2. The first message is below.
Could you please check your kern.log for any abnormal messages prior
to this badness?
> IMO, if you want additional debugging code, add some non-intrusive
> checks in the upstream kernel. Since this problem doesn't appear for a
> while, additional checks would be useful.
Here's a check which might help. Please apply it and see if it
produces anything.
BTW, there are still races left in addrconf.c. However, they are
less likely to trigger compared to the one that's been fixed already.
The races are similar in nature to it. For example, dad_complete
may race with dad_failure to lead to the sequence ip6_del_rt/ip6_ins_rt.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
[-- Attachment #2: p --]
[-- Type: text/plain, Size: 335 bytes --]
===== net/ipv6/route.c 1.102 vs edited =====
--- 1.102/net/ipv6/route.c 2004-11-30 14:24:46 +11:00
+++ edited/net/ipv6/route.c 2004-12-18 18:13:59 +11:00
@@ -379,6 +379,7 @@
int err;
write_lock_bh(&rt6_lock);
+ WARN_ON(rt->u.dst->obsolete);
err = fib6_add(&ip6_routing_table, rt, nlh, _rtattr);
write_unlock_bh(&rt6_lock);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-18 7:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-16 7:46 Badness in dst_release Jeff Garzik
2004-12-18 7:24 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).