login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-netdev
»
2009
»
November
»
13
Re: [PATCH] netfilter: nf_log: fix sleeping function called from invalid context in seq_show()
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Patrick McHardy
Subject:
Re: [PATCH] netfilter: nf_log: fix sleeping function called from invalid context in seq_show()
Date: Friday, November 13, 2009 - 1:35 am
Wu Fengguang wrote:
quoted text
> [ 171.925285] BUG: sleeping function called from invalid context at kernel/mutex.c:280 > [ 171.925296] in_atomic(): 1, irqs_disabled(): 0, pid: 671, name: grep > [ 171.925306] 2 locks held by grep/671: > [ 171.925312] #0: (&p->lock){+.+.+.}, at: [<c10b8acd>] seq_read+0x25/0x36c > [ 171.925340] #1: (rcu_read_lock){.+.+..}, at: [<c1391dac>] seq_start+0x0/0x44 > [ 171.925372] Pid: 671, comm: grep Not tainted 2.6.31.6-4-netbook #3 > [ 171.925380] Call Trace: > [ 171.925398] [<c105104e>] ? __debug_show_held_locks+0x1e/0x20 > [ 171.925414] [<c10264ac>] __might_sleep+0xfb/0x102 > [ 171.925430] [<c1461521>] mutex_lock_nested+0x1c/0x2ad > [ 171.925444] [<c1391c9e>] seq_show+0x74/0x127 > [ 171.925456] [<c10b8c5c>] seq_read+0x1b4/0x36c > [ 171.925469] [<c10b8aa8>] ? seq_read+0x0/0x36c > [ 171.925483] [<c10d5c8e>] proc_reg_read+0x60/0x74 > [ 171.925496] [<c10d5c2e>] ? proc_reg_read+0x0/0x74 > [ 171.925510] [<c10a4468>] vfs_read+0x87/0x110 > [ 171.925523] [<c10a458a>] sys_read+0x3b/0x60 > [ 171.925538] [<c1002a49>] syscall_call+0x7/0xb > > Fix it by replacing RCU with nf_log_mutex.
Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] netfilter: nf_log: fix sleeping function called fr ...
, Wu Fengguang
, (Thu Nov 12, 11:36 pm)
Re: [PATCH] netfilter: nf_log: fix sleeping function calle ...
, Patrick McHardy
, (Fri Nov 13, 1:35 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Fortier,Vincent [Montreal]
2.6.21.5 june 30th to july 1st date hang?
Jeff Dike
[ PATCH 2/6 ] UML - Formatting fixes around os_{read_write}_file callers
Liam Girdwood
[PATCH 07/13] regulator: regulator test harness
Oleg Nesterov
Re: Getting the new RxRPC patches upstream
Stefan Seyfried
Re: 2.6.19-rc5: grub is much slower resuming from suspend-to-disk than in 2.6.18
linux-netdev
:
Arnaud Ebalard
Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b58019f0
Jan Engelhardt
Re: [PATCH iptables] extension: add xt_cpu match
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Sebastian Andrzej Siewior
[PATCH 8/8] net/emergency: remove locking from reycling pool if emergncy pools are...
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
git
:
Jakub Narebski
Re: git on MacOSX and files with decomposed utf-8 file names
Brandon Casey
Re: Thunderbird and patches (was Re: [PATCH v2] Enable setting attach as the def...
Christian Couder
[PATCH 1/3] rev-parse: add test script for "--verify"
Ramkumar Ramachandra
Re: [GSoC update] git-remote-svn: The final one
Junio C Hamano
Re: git-rm isn't the inverse action of git-add
openbsd-misc
:
Joachim Schipper
Re: UVC Webcams
Florin Andrei
SOLVED [was: firewall is very slow, something's wrong]
Todd Alan Smith
Re: Microsoft gets the Most Secure Operating Systems award
Neal Hogan
Re: Need Advice: Thinkpad T60 or T61?
Sam Fourman Jr.
Re: Real men don't attack straw men
git-commits-head
:
Linux Kernel Mailing List
ACPI: Disable ARB_DISABLE on platforms where it is not needed
Linux Kernel Mailing List
m68knommu: add read_barrier_depends() and irqs_disabled_flags()
Linux Kernel Mailing List
[MTD] Add mtd panic_write function pointer
Linux Kernel Mailing List
[ARM] pxa: remove duplicate select statements from Kconfig
Linux Kernel Mailing List
mlx4_core: Don't read reserved fields in mlx4_QUERY_ADAPTER()
Colocation donated by:
Syndicate