On Fri, Nov 19, 2010 at 12:25:15AM +0530, Johannes Berg wrote: > On Thu, 2010-11-18 at 15:07 +0530, Rajkumar Manoharan wrote: > > On Thu, Nov 18, 2010 at 12:56:00PM +0530, Luis R. Rodriguez wrote: > > > 05:33 < mcgrof> so module unload on ath9k no longer works > > > 06:11 < vmraj> mcgrof: module unload is not working for intel cards too > > > 06:15 < vmraj> it can be reproduced by rmmod on active connection > > > > > > I haven't yet figured out why. Anyone else with other modules experiencing this? > > > > > cfg80211_netdev_notifier_call invokes dev_hold on NETDEV_DOWN which increments > > Usage count. hence unregister_netdevice fails. > > The cleanup_work should fix that up -- but I can see this being a corner > case that the network stack no longer likes us for ... > Yes cleanup_work releases the device. By disabling ipv6 solves the issue. Somewhere in ipv6 module, failed to release device. sysctl -w net.ipv6.conf.all.disable_ipv6=1 solves the module unload problem. -- Rajkumar -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html