unregister_netdevice: waiting for tun1 to become free.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there.

I'm finally got chance to setup advanced IMQ shaping on my router. As
far as I can see shaping works as expected. BUT, there is a problem to
reboot/shutdown router, it gets flooded by this message, and there is no
way to correctly shutdown, only hard poweroff:

unregister_netdevice: waiting for tun1 to become free. Usage count = 2
unregister_netdevice: waiting for tun1 to become free. Usage count = 2
unregister_netdevice: waiting for tun1 to become free. Usage count = 2
unregister_netdevice: waiting for tun1 to become free. Usage count = 2

Google shows there were problems like this on 2.6.8 with CBQ, which is
belived to be fixed long ago. But, also, I don't use CBQ.

About my system:

Debian Etch with custom kernel

# uname -a
Linux router 2.6.18.set+ipm+cond+conl+time+esfq+imq02 #1 SMP Tue Feb 24
18:53:56 EET 2009 i686 GNU/Linux

this is Etch kernel rebuild with support for ipmark, condition,
connlimit, time, esfq, imq.

patch-o-matic-ng-20080929
esfq-2.6.19.2
iptables-1.3.6-imq.diff
linux-2.6.18-imq.diff

I've prepared and installed this kernel/iptables/iproute few months ago,
there were no problems. imq, esfq was not used until today.

I use 2 imq devices, one for PREROUTING shaping at input and one for
POSTROUTING shaping at output.

Shaping is done with HTB and ESFQ. Input classifiers are -j MARK + tc
fwmark, output classifiers are just -j CLASSIFY.

What I'm doing wrong?

-- 
Покотиленко Костик <casper@xxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux