public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Antonio Quartulli <ordex@autistici.org>
To: "B.A.T.M.A.N" <b.a.t.m.a.n@lists.open-mesh.org>
Subject: [B.A.T.M.A.N.] bug - unregister_netdevice: usage_count = 1
Date: Wed, 11 May 2011 02:17:50 +0200	[thread overview]
Message-ID: <20110511001749.GA18190@ritirata.org> (raw)

Hi all,

I found a bug playing with my interfaces while bat0 was active.
The bug is described here: http://www.open-mesh.org/issues/148
The steps to reproduce it are reported too.

In a few words, when trying to unregister a device by unloading its module,
the modprobe hangs and in the dmesg I can see this message:

unregister_netdevice: waiting for wlan0 to become free. Usage count = 1

I tried to do some tests and what I observed is that
hard_iface->refcount doesn't reach 0. This means that
hard_iface_free_rcu() is never invoked and dev_put() too.

I hope the information are enough..

Regards,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

             reply	other threads:[~2011-05-11  0:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-11  0:17 Antonio Quartulli [this message]
2011-05-11 12:44 ` [B.A.T.M.A.N.] [RFC PATCH] batman-adv: Add missing hardif_free_ref in forw_packet_free Sven Eckelmann
2011-05-11 18:59   ` [B.A.T.M.A.N.] [RFC PATCHv2] " Sven Eckelmann
2011-05-14 15:26     ` Marek Lindner
2011-05-13 13:05   ` [B.A.T.M.A.N.] [RFC PATCH] " Antonio Quartulli

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=20110511001749.GA18190@ritirata.org \
    --to=ordex@autistici.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.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