Subject: Re: if_ioctl
To: Lennart Augustsson <lennart@mail.augustsson.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 01/20/2001 20:28:53
On Sat, Jan 20, 2001 at 10:21:05PM -0500, Lennart Augustsson wrote:
> In `struct ifnet' there is a function pointer that performs ioctl()
> calls, if_ioctl. Can this function ever be called from non-process
> context? (I really hope not, otherwise I don't really know how
> to rewrite the USB Ethernet drivers to function properly.)
No, if_ioctl should always be called from process context. I've been
meaning for some time to change if_ioctl to take a proc * like other
ioctl routines do.
--
-- Jason R. Thorpe <thorpej@zembu.com>