From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 11 May 2011 02:17:50 +0200 From: Antonio Quartulli Message-ID: <20110511001749.GA18190@ritirata.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Subject: [B.A.T.M.A.N.] bug - unregister_netdevice: usage_count = 1 Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "B.A.T.M.A.N" 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