Skip to contentSkip to conversation

can't unregister_netdevice

DISCUSSION junk 1 participant 1 message Feb 24, 2005 1 message not in the archive netfilter

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

junk

author
#1 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 forgot in my code?

I use dev_queue_xmit to transmit my packet to eth0 I do not kfree_skb my skb, I return a NF_STOLEN I do unregister my netfilter hooks

Any ideas?