Linux wireless drivers development
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Bob Copeland <me@bobcopeland.com>
Cc: YanBo <dreamfly281@gmail.com>,
	wireless <linux-wireless@vger.kernel.org>,
	Luis Carlos Cobo <luisca@cozybit.com>
Subject: Re: [ath5k-devel] ath5k hang up in mesh mode
Date: Wed, 06 Aug 2008 16:00:18 +0200	[thread overview]
Message-ID: <1218031218.23048.4.camel@johannes.berg> (raw)
In-Reply-To: <b6c5339f0808060656v771a00dar51054236bc4ec50b@mail.gmail.com> (sfid-20080806_155653_719297_81EA5A80)

[-- Attachment #1: Type: text/plain, Size: 1216 bytes --]


> > [  577.639420] Mesh plink with 00:19:e0:86:0f:2f ESTABLISHED
> > [  602.864544] BUG: sleeping function called from invalid context at
> > mm/slab.c:3043
> > [  602.869975] in_atomic():1, irqs_disabled():0
> > [  602.874241] INFO: lockdep is turned off.
> > [  602.878162] Pid: 5160, comm: ath5k_pci Not tainted
> > 2.6.27-rc1-wl-14922-gb73da91 #4
> > [  602.885719]  [<c0172e5f>] kmem_cache_alloc+0xef/0x110
> > [  602.890794]  [<c04e9908>] mesh_path_add+0xb8/0x2f0
> > [  602.895610]  [<c04e9908>] mesh_path_add+0xb8/0x2f0
> > [  602.900468]  [<c04eb8c6>] hwmp_route_info_get+0x406/0x4c0
> > [  602.905886]  [<c04eb4e5>] hwmp_route_info_get+0x25/0x4c0
> > [  602.911927]  [<c04eb9f4>] mesh_rx_path_sel_frame+0x74/0x870
> > [  602.917257]  [<c04d76dd>] ieee80211_rx_bss_info+0x67d/0xe80
> > [  602.922846]  [<c04d70dc>] ieee80211_rx_bss_info+0x7c/0xe80
> > [  602.928353]  [<c04d9d40>] ieee80211_rx_mgmt_action+0x180/0x8a0
> 
> I guess mesh_path_add should be using GFP_ATOMIC instead of GFP_KERNEL, since
> it's called under rcu_read_lock?  CCed Johannes.

Looks like it, but I don't really know. OTOH, we really could make all
that RX business non-atomic. Oh well, not now.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2008-08-06 14:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1197ff4c0808060056q7e10e39cl41a5ea5a26b7cdd6@mail.gmail.com>
2008-08-06 13:56 ` [ath5k-devel] ath5k hang up in mesh mode Bob Copeland
2008-08-06 14:00   ` Johannes Berg [this message]
2008-08-07  2:45     ` YanBo
2008-08-07  5:12       ` YanBo

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=1218031218.23048.4.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=dreamfly281@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luisca@cozybit.com \
    --cc=me@bobcopeland.com \
    /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