public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* net_device: set_multicast_list called from interrupt?
@ 2004-10-04 15:26 Martin Zwickel
  2004-10-04 15:35 ` Martin Zwickel
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Zwickel @ 2004-10-04 15:26 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 698 bytes --]

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

-- 
MyExcuse:
The cord jumped over and hit the power switch.

Martin Zwickel <martin.zwickel@technotrend.de>
Research & Development

TechnoTrend AG <http://www.technotrend.de>

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: net_device: set_multicast_list called from interrupt?
  2004-10-04 15:26 net_device: set_multicast_list called from interrupt? Martin Zwickel
@ 2004-10-04 15:35 ` Martin Zwickel
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Zwickel @ 2004-10-04 15:35 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 954 bytes --]

On Mon, 4 Oct 2004 17:26:21 +0200
Martin Zwickel <martin.zwickel@technotrend.de> bubbled:

> 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
> 

Ah, just tested it under 2.4er. It's called from an interrupt too.
So I have to workaround the free/alloc.

Sorry!

Martin

-- 
MyExcuse:
Your EMAIL is now being delivered by the USPS.

Martin Zwickel <martin.zwickel@technotrend.de>
Research & Development

TechnoTrend AG <http://www.technotrend.de>

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-04 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-04 15:26 net_device: set_multicast_list called from interrupt? Martin Zwickel
2004-10-04 15:35 ` Martin Zwickel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox