From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Minter Subject: More 'Badness in dst_release' messages Date: Thu, 12 May 2005 17:11:26 +0100 (BST) Message-ID: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: To: netdev@oss.sgi.com Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org Hello, I'm getting 'Badness in dst_release' messages and associated occasional panics (dereferencing invalidated dst pointers), and am having some problems tracking down the cause. Could anyone spare a moment to advise me what I can do next to debug and resolve the issue? I'm running vanilla kernel-2.6.11, x86_64 SMP, on a single-CPU (but hyperthreaded) EM64T Xeon. I'm using IPv4, and that's where all the problems seem to be. IPv6 isn't compiled in; XFRM and bridging are, but I'm not using either. I've had similar problems with an equivalent 2.6.10 setup. These are all the types of backtraces that I'm getting (bear in mind that because it's x86_64, there's no CONFIG_FRAME_POINTER, so the backtraces are noisy). I have verified by hand that the top address in each corresponds to a dst_release call in the code, though. Call Trace:{tcp_v4_connect+1932} {lock_sock+200} {inet_stream_connect+226} {sprintf+136} {lock_sock+200} {fget+91} {sys_connect+122} {sockfd_lookup+32} {sys_getsockopt+132} {system_call+126} [corresponds to the __sk_dst_set(sk, &rt->u.dst); in tcp_v4_connect(): this seems to be curious to me] Call Trace:{inet_sock_destruct+555} {sk_free+30} {inet_release+88} {sock_release+33} {sock_close+53} {__fput+98} {filp_close+126} {sys_close+147} {system_call+126} Call Trace: {__kfree_skb+102} {:e1000:e1000_clean+389} {tcp_transmit_skb+1651} {sk_reset_timer+15} {net_rx_action+132} {__do_softirq+113} {do_softirq+53} {do_IRQ+71} {ret_from_intr+0} {mwait_idle+86} {cpu_idle+63} Any suggestions would be much appreciated as I haven't been able yet to replicate the bug elsewhere. Although I don't have physical access to the machine in question, I am able to arrange for debugging kernels to be put on it, if I know what to look for! Many thanks, Jim Minter