net_device: set_multicast_list called from interrupt?
Hi there!
I don't know if this is the right place, but I hope so.
I wrote a network-driver years ago for the 2.4er kernel's.
Now I ported it to the 2.6er kernel but I get some problems because set_multicast_list is called from an interrupt and my driver want's to free/allocate some memory.
Why did the driver work under 2.4, and now stops running on 2.6?
I had a look at http://lwn.net/Articles/30107/:
Driver porting: Network drivers
but there was nothing about newly implemented soft-interrupts.
Thanks,
Martin
Signature · 7 lines
MyExcuse: The cord jumped over and hit the power switch. Martin Zwickel <[email protected]> Research & Development TechnoTrend AG <http://www.technotrend.de>
On Mon, 4 Oct 2004 17:26:21 +0200
Martin Zwickel <[email protected]> bubbled:
Quoted 12 lines
Hi there!
I don't know if this is the right place, but I hope so.
I wrote a network-driver years ago for the 2.4er kernel's.
Now I ported it to the 2.6er kernel but I get some problems because
set_multicast_listis called from an interrupt and my driver want's to free/allocate some memory.Why did the driver work under 2.4, and now stops running on 2.6?
Quoted 8 lines
I had a look at http://lwn.net/Articles/30107/:
Driver porting: Network driversbut there was nothing about newly implemented soft-interrupts.
Thanks,
Martin
Ah, just tested it under 2.4er. It's called from an interrupt too. So I have to workaround the free/alloc.
Sorry!
Martin
Signature · 7 lines
MyExcuse: Your EMAIL is now being delivered by the USPS. Martin Zwickel <[email protected]> Research & Development TechnoTrend AG <http://www.technotrend.de>