Hello!
I have a little problem.
I do a register_netdev inside a _init function of a home made qdisc.
2 cases:
1. Modprobe before working with it
Everything works ok.
2. the module is not loaded and I let tc trigger module loading
tc blocks on modprobe
modprobe blocks on register_netdev
Very probably that rtnl_sem is taken by netlink in kernel and
register_nedev tries to aquire the sem, too.
If I use register_netdevice, seems ok but in case 1, the is no sem
protection anymore.
How I can resolve this problem?
Thank you!
---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/
|