Project

General

Profile

Actions

Bug #148

closed

interface usage_count = 1 while trying to deactivate the hard interface.

Added by Antonio Quartulli over 13 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
05/11/2011
Due date:
% Done:

100%

Estimated time:

Description

When I try to remove the module of my wifi device (it is the primary_if for bat0), modprobe hangs and dmesg shows this message:

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

Steps to reproduce it:

- insmod batman-adv
- insmod device_driver
- batctl if add wlan0
- ifconfig wlan0 up
- ifconfig bat0 up
- modprobe -r device_driver

At this point the modprobe hangs. In another terminal I tried to do
modprobe -r batman-adv
and everything went fine here.

Actions #1

Updated by Antonio Quartulli over 13 years ago

I'm using the master branch:
commit 4d4cd85635fdfbd91cf48664c9770860012f6393

Actions #2

Updated by Anonymous over 13 years ago

  • Assignee set to Marek Lindner
  • Priority changed from Normal to High
  • % Done changed from 0 to 100

It was fixed in commit:d18e485761814e3edb34d32dbc358a6c2f59b0ce

Actions #3

Updated by Anonymous over 13 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Anonymous over 13 years ago

  • Status changed from Resolved to Closed
Actions #5

Updated by Sven Eckelmann almost 8 years ago

  • Target version set to 2011.3.0
Actions

Also available in: Atom PDF