All of lore.kernel.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] bug - unregister_netdevice: usage_count = 1
@ 2011-05-11  0:17 Antonio Quartulli
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Antonio Quartulli @ 2011-05-11  0:17 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-14 15:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-11  0:17 [B.A.T.M.A.N.] bug - unregister_netdevice: usage_count = 1 Antonio Quartulli
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.