Re: [PATCH] fix outstanding ref's preventing ether driver unload
From: David S. Miller <hidden>
Date: 2003-12-23 23:25:40
From: David S. Miller <hidden>
Date: 2003-12-23 23:25:40
On Tue, 23 Dec 2003 15:11:54 -0800 Stephen Hemminger [off-list ref] wrote:
On Tue, 23 Dec 2003 14:38:32 -0800 "David S. Miller" [off-list ref] wrote:quoted
Are you going to add such code to RAW, UDP, TCP, etc. etc.?They don't have the problem because they don't go through the netdev_queue_xmit_nit code path. Audited all calls to dev_add_packet and AF_PACKET is the only one that I found that could potentially register for ptype_all. The same thing could happen through the loopback device, though. But the loopback device can never be unloaded so it doesn't really hurt anything.
I see, thanks for the clarification.... I have an idea, let me think about this a little bit more.