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

Also available in: Atom PDF