netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Francois Romieu <romieu@fr.zoreil.com>
To: Krzysztof Halasa <khc@pm.waw.pl>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: 2.6.18-rc5 with GRE, iptables and Speedtouch ADSL, PPP over ATM
Date: Sat, 2 Sep 2006 23:48:40 +0200	[thread overview]
Message-ID: <20060902214839.GA27295@electric-eye.fr.zoreil.com> (raw)
In-Reply-To: <m3odty57gf.fsf@defiant.localdomain>

Krzysztof Halasa <khc@pm.waw.pl> :
[...]
> =======================================================
> [ INFO: possible circular locking dependency detected ]
> -------------------------------------------------------
> swapper/0 is trying to acquire lock:
>  (&dev->queue_lock){-+..}, at: [<c02c8c46>] dev_queue_xmit+0x56/0x290
> 
> but task is already holding lock:
>  (&dev->_xmit_lock){-+..}, at: [<c02c8e14>] dev_queue_xmit+0x224/0x290
> 
> which lock already depends on the new lock.
> 
> 
> the existing dependency chain (in reverse order) is:
> 
> -> #1 (&dev->_xmit_lock){-+..}:
>        [<c012e7b6>] lock_acquire+0x76/0xa0
>        [<c0336241>] _spin_lock_bh+0x31/0x40
>        [<c02d25a9>] dev_activate+0x69/0x120
[...]
>        [<c0169957>] vfs_ioctl+0x57/0x290
>        [<c0169bc9>] sys_ioctl+0x39/0x60
>        [<c0102c8d>] sysenter_past_esp+0x56/0x8d

> 
> -> #0 (&dev->queue_lock){-+..}:
>        [<c012e7b6>] lock_acquire+0x76/0xa0
>        [<c03361fc>] _spin_lock+0x2c/0x40
>        [<c02c8c46>] dev_queue_xmit+0x56/0x290
[...]
>        [<c01194b5>] __do_softirq+0x55/0xc0
>        [<c0104b13>] do_softirq+0x63/0xd0

dev_activate takes BH disabling locks only. How could a softirq happen
on the same cpu and trigger a deadlock ?

-- 
Ueimor

-- 
VGER BF report: U 0.500151

  reply	other threads:[~2006-09-02 21:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02 20:39 2.6.18-rc5 with GRE, iptables and Speedtouch ADSL, PPP over ATM Krzysztof Halasa
2006-09-02 21:48 ` Francois Romieu [this message]
2006-09-02 22:59   ` Krzysztof Halasa
2006-09-03 11:15 ` Herbert Xu
2006-09-03 12:43   ` Krzysztof Halasa
2006-09-03 19:26   ` Larry Finger
2006-09-04  8:44   ` Alexey Kuznetsov
2006-09-04  8:48     ` Herbert Xu
2006-09-18  7:22   ` David Miller

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=20060902214839.GA27295@electric-eye.fr.zoreil.com \
    --to=romieu@fr.zoreil.com \
    --cc=khc@pm.waw.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).