From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux-kernel@vger.kernel.org,
Dagmar Volkmann <dagmar.volkmann@de.ibm.com>
Subject: Re: rcu: inet_timewait_sock.h:227 invoked rcu_dereference_check() without protection
Date: Wed, 26 May 2010 12:44:02 -0700 [thread overview]
Message-ID: <20100526194402.GD2934@linux.vnet.ibm.com> (raw)
In-Reply-To: <20100526154507.GC2232@osiris.boeblingen.de.ibm.com>
On Wed, May 26, 2010 at 05:45:07PM +0200, Heiko Carstens wrote:
> 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
> 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
prev parent reply other threads:[~2010-05-26 19:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-26 15:45 rcu: inet_timewait_sock.h:227 invoked rcu_dereference_check() without protection Heiko Carstens
2010-05-26 19:44 ` Paul E. McKenney [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100526194402.GD2934@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=dagmar.volkmann@de.ibm.com \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.