Project

General

Profile

Bug #148

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

Added by Antonio Quartulli about 10 years ago. Updated over 4 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.

History

#1

Updated by Antonio Quartulli about 10 years ago

I'm using the master branch:
commit 4d4cd85635fdfbd91cf48664c9770860012f6393

#2

Updated by Anonymous about 10 years ago

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

It was fixed in commit:d18e485761814e3edb34d32dbc358a6c2f59b0ce

#3

Updated by Anonymous about 10 years ago

  • Status changed from New to Resolved
#4

Updated by Anonymous about 10 years ago

  • Status changed from Resolved to Closed
#5

Updated by Sven Eckelmann over 4 years ago

  • Target version set to 2011.3.0

Also available in: Atom PDF