login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
May
»
26
Re: rcu: inet_timewait_sock.h:227 invoked rcu_dereference_check() without protection
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Paul E. McKenney
Subject:
Re: rcu: inet_timewait_sock.h:227 invoked rcu_dereference_check() without protection
Date: Wednesday, May 26, 2010 - 12:44 pm
On Wed, May 26, 2010 at 05:45:07PM +0200, Heiko Carstens wrote:
quoted text
> Hi Paul, > > we got the following RCU trace here while doing some tests with 2.6.34 > vanilla with some extra patches on top, but which do not touch RCU nor > inet code. > Would be nice if you could have a look at it.
Hello, Heiko, This is fixed by commit 7ec75c582e639d956ce3afd499f67febe6f902a4 in Linus's tree. Thanx, Paul
quoted text
> May 21 09:05:16 h0515017 kernel: =================================================== > May 21 09:05:16 h0515017 kernel: [ INFO: suspicious rcu_dereference_check() usage. ] > May 21 09:05:16 h0515017 kernel: --------------------------------------------------- > May 21 09:05:16 h0515017 kernel: /home/autobuild/BUILD/linux-2.6.34-20100520/include/net/inet_timewait_sock.h:227 invoked rcu_dereference_check() without protection! > May 21 09:05:16 h0515017 kernel: > May 21 09:05:16 h0515017 kernel: other info that might help us debug this: > May 21 09:05:16 h0515017 kernel: > May 21 09:05:16 h0515017 kernel: > May 21 09:05:16 h0515017 kernel: rcu_scheduler_active = 1, debug_locks = 0 > May 21 09:05:16 h0515017 kernel: 1 lock held by swapper/0: > May 21 09:05:16 h0515017 kernel: #0: (/home/autobuild/BUILD/linux-2.6.34-20100520/net/ipv4/tcp_minisocks.c:41){+.-...}, at: [<0000000000158398>] run_timer_softirq+0x1b4/0x354 > May 21 09:05:16 h0515017 kernel: > May 21 09:05:16 h0515017 kernel: stack backtrace: > May 21 09:05:16 h0515017 kernel: CPU: 0 Not tainted 2.6.34-42.x.20100520-s390xdefault #1 > May 21 09:05:16 h0515017 kernel: Process swapper (pid: 0, task: 0000000000812a18, ksp: 0000000000807e00) > May 21 09:05:16 h0515017 kernel: 0000000000000000 000000003ffa7bc8 0000000000000002 0000000000000000 > May 21 09:05:16 h0515017 kernel: 000000003ffa7c68 000000003ffa7be0 000000003ffa7be0 000000000056ba7c > May 21 09:05:16 h0515017 kernel: 0000000000000000 0000000000000002 00000000000002d8 0000000000000000 > May 21 09:05:16 h0515017 kernel: 000000000000000d 0000000000000000 000000003ffa7c38 000000000000000e > May 21 09:05:16 h0515017 kernel: 00000000005c48a8 0000000000105a20 000000003ffa7bc8 000000003ffa7c10 > May 21 09:05:16 h0515017 kernel: Call Trace: > May 21 09:05:16 h0515017 kernel: ([<000000000010596e>] show_trace+0x142/0x148) > May 21 09:05:16 h0515017 kernel: [<00000000004a5068>] __inet_twsk_kill+0x140/0x14c > May 21 09:05:16 h0515017 kernel: [<00000000004a566c>] inet_twdr_do_twkill_work+0x90/0x130 > May 21 09:05:16 h0515017 kernel: [<00000000004a585a>] inet_twdr_hangman+0x5e/0xec > May 21 09:05:16 h0515017 kernel: [<000000000015842a>] run_timer_softirq+0x246/0x354 > May 21 09:05:16 h0515017 kernel: [<00000000001514ae>] __do_softirq+0xfa/0x1b8 > May 21 09:05:16 h0515017 kernel: [<0000000000112608>] do_softirq+0xe4/0xe8 > May 21 09:05:16 h0515017 kernel: [<0000000000150f3c>] irq_exit+0xc0/0xe0 > May 21 09:05:16 h0515017 kernel: [<000000000010f9ce>] do_extint+0x126/0x17c > May 21 09:05:16 h0515017 kernel: [<0000000000119e5c>] ext_no_vtime+0x28/0x2c > May 21 09:05:16 h0515017 kernel: [<0000000000116c10>] vtime_stop_cpu+0xac/0x100 > May 21 09:05:16 h0515017 kernel: ([<0000000000116bb6>] vtime_stop_cpu+0x52/0x100) > May 21 09:05:16 h0515017 kernel: [<000000000010c1a8>] cpu_idle+0xf8/0x190 > May 21 09:05:16 h0515017 kernel: [<0000000000859cf0>] start_kernel+0x3b4/0x418 > May 21 09:05:16 h0515017 kernel: [<0000000000100020>] _stext+0x20/0x80 > May 21 09:05:16 h0515017 kernel: INFO: lockdep is turned off. > > Thanks, > Heiko
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
rcu: inet_timewait_sock.h:227 invoked rcu_dereference_chec ...
, Heiko Carstens
, (Wed May 26, 8:45 am)
Re: rcu: inet_timewait_sock.h:227 invoked rcu_dereference_ ...
, Paul E. McKenney
, (Wed May 26, 12:44 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Jan Engelhardt
Re: [PATCH] Allow Kconfig to set default mmap_min_addr protection
Dmitry Torokhov
Re: [2.6 patch] input/serio/hp_sdc.c section fix
Rafael J. Wysocki
[Bug #16380] Loop devices act strangely in 2.6.35
git
:
Steven Grimm
Using git as a general backup mechanism (was Re: Using GIT to store /etc)
Jeff King
Re: [PATCH] git-reset: allow --soft in a bare repo
Johannes Sixt
Re: [PATCH 01/14] msvc: Fix compilation errors in compat/win32/sys/poll.c
Johannes Schindelin
Re: [PATCH] Uninstall rule for top level Makefile
Shawn O. Pearce
Re: [PATCH v2] Speed up bash completion loading
git-commits-head
:
Linux Kernel Mailing List
cgroups: clean up cgroup_pidlist_find() a bit
Linux Kernel Mailing List
sony-laptop: Add support for extended hotkeys
Linux Kernel Mailing List
IB/core: Add support for masked atomic operations
Linux Kernel Mailing List
V4L/DVB (8939): cx18: fix sparse warnings
Linux Kernel Mailing List
ipv6 mcast: Check address family of gf_group in getsockopt(MS_FILTER).
linux-netdev
:
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Karsten Keil
[mISDN PATCH v2 05/19] Reduce stack size in dsp_cmx_send()
linux
Re: 2.6.23-rc8 network problem. Mem leak? ip1000a?
David Miller
Re: tun: Use netif_receive_skb instead of netif_rx
David Miller
Re: [net-next PATCH v2] llc enhancements
freebsd-current
:
Matthew Fleming
Re: [RFC] Outline of USB process integration in the kernel taskqueue system
illoai@gmail.com
Re: OT: 2d password
Hartmut Brandt
Re: problem with nss_ldap
Andrew Reilly
Re: FreeBSD's problems as seen by the BSDForen.de community
Max Laier
Re: Upcoming ABI Breakage in RELENG_7
Colocation donated by:
Syndicate