netdev
[Top] [All Lists]

Re: catch 22 - porting net driver from 2.2 to 2.4

To: "Hen, Shmulik" <shmulik.hen@xxxxxxxxx>
Subject: Re: catch 22 - porting net driver from 2.2 to 2.4
From: Jeff Garzik <jgarzik@xxxxxxxxxxxxxxxx>
Date: Thu, 09 Nov 2000 12:37:21 -0500
Cc: "'LNML'" <linux-net@xxxxxxxxxxxxxxx>, "'LKML'" <linux-kernel@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
Organization: MandrakeSoft
References: <07E6E3B8C072D211AC4100A0C9C5758302B2708C@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
do_ioctl is inside rtnl_lock...

Remember if you need to alter the rules, you can always queue work in
the current context, and have a kernel thread handle the work.  The nice
thing about a kernel thread is that you start with a [almost] clean
state, when it comes to locks.

        Jeff


-- 
Jeff Garzik             |
Building 1024           | Would you like a Twinkie?
MandrakeSoft            |

<Prev in Thread] Current Thread [Next in Thread>