From: Andrew Morton <akpm@digeo.com>
To: Luc Van Oostenryck <luc.vanoostenryck@easynet.be>,
Thomas Molina <tmolina@cox.net>,
lksctp-developers@lists.sourceforge.net
Cc: Kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: (more) Sleeping function called from illegal context...
Date: Fri, 27 Sep 2002 18:27:44 -0700 [thread overview]
Message-ID: <3D950590.1F9FBDC6@digeo.com> (raw)
In-Reply-To: 3D94FB89.40400@easynet.be
Luc Van Oostenryck wrote:
>
> With CONFIG_PREEMPT=y on an SMP AMD (2CPU):
>
> Sleeping function called from illegal context at slab.c:1374
> f79dbe2c c0117094 c0280b00 c02847cb 0000055e f7817b40 c01328fd c02847cb
> 0000055e f79da000 f7ede980 c03ecc58 f7817b40 c025af91 c18cf248 c0266b3e
> 00000024 000001d0 f79da000 00000286 00000001 bffffc9c c02f63e0 c0266e20
> Call Trace:
> [<c0117094>]__might_sleep+0x54/0x58
> [<c01328fd>]kmalloc+0x5d/0x1e0
> [<c025af91>]fib_add_ifaddr+0x61/0x110
> [<c0266b3e>]__sctp_get_local_addr_list+0x9e/0x140
> [<c0266e20>]sctp_netdev_event+0x30/0x60
> [<c01241ae>]notifier_call_chain+0x1e/0x40
> [<c02566f5>]inet_insert_ifa+0x1b5/0x1c0
> [<c02567b4>]inet_set_ifa+0xb4/0xc0
> [<c0257091>]devinet_ioctl+0x511/0x740
> [<c0259897>]inet_ioctl+0x157/0x1b0
> [<c021e276>]sock_ioctl+0x56/0x90
> [<c0150039>]sys_ioctl+0x289/0x2d8
> [<c0107d11>]error_code+0x2d/0x38
> [<c01072cf>]syscall_call+0x7/0xb
>
sctp_v4_get_local_addr_list():
/* XXX BUG: sleeping allocation with lock held -DaveM */
addr = t_new(struct sockaddr_storage_list, GFP_KERNEL);
Is true. We're holding dev_base_lock, inetdev_lock and in_dev->lock
here.
next prev parent reply other threads:[~2002-09-28 1:22 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-27 23:30 Sleeping function called from illegal context Greg KH
2002-09-27 23:50 ` Andrew Morton
2002-09-28 0:43 ` (more) " Luc Van Oostenryck
2002-09-28 1:22 ` Andrew Morton
2002-09-28 0:44 ` Luc Van Oostenryck
2002-09-28 1:24 ` Andrew Morton
2002-09-28 2:15 ` Greg KH
2002-09-28 0:44 ` Luc Van Oostenryck
2002-09-28 1:27 ` Andrew Morton [this message]
2002-09-30 12:50 ` [Lksctp-developers] " Jon Grimm
2002-09-30 13:34 ` Jon Grimm
2002-09-28 2:04 ` Andre Hedrick
2002-09-28 3:06 ` Robert Love
2002-09-28 3:21 ` Andre Hedrick
2002-09-28 3:29 ` Robert Love
2002-09-28 10:06 ` Alan Cox
2002-09-28 17:06 ` Robert Love
2002-09-28 0:51 ` Robert Love
2002-09-28 2:16 ` Greg KH
2002-09-28 14:54 ` John Levon
2002-09-28 17:05 ` Andrew Morton
2002-09-28 17:24 ` John Levon
2002-09-28 18:27 ` Robert Love
2002-09-28 18:38 ` John Levon
2002-09-29 0:50 ` William Lee Irwin III
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=3D950590.1F9FBDC6@digeo.com \
--to=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lksctp-developers@lists.sourceforge.net \
--cc=luc.vanoostenryck@easynet.be \
--cc=tmolina@cox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox