Skip to contentSkip to conversation

can't unregister_netdevice

DISCUSSION junk 1 participant 1 message Feb 24, 2005 netfilter

lore
Share & tools
lore

junk

author
#0 lore raw

I'm coding a module which sends packets to eth0, it actually sends packets but when i halt/reboot my linux, it hang over saying it can't unregister_netdevice eth0 because usage count is = X

What did I forget in my code?

I use dev_queue_xmit to transmit my packet to eth0 I finally kfree_skb my skb
I did unregister my netfilter hooks

Any ideas?