Re: [PATCH] net/core: split dev_ifsioc() according to locking

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeff Garzik <jeff@...>
Cc: David Miller <davem@...>, <netdev@...>, LKML <linux-kernel@...>, Andrew Morton <akpm@...>
Date: Saturday, October 6, 2007 - 8:17 pm

On Saturday 06 October 2007, Jeff Garzik wrote:

Great idea!

I've been experimenting with a new compat_dev_ioctl() function along
the lines of what I just posted for the blkdev ioctls. For that, it
would be perfect to streamline dev_ioctl further:

* move the dev_load() and locking into dev_ifsioc{,_locked}
* move the copy_to_user step to a single place at the end of dev_ioctl

After that, we could have very simple dev_ioctl and compat_dev_ioctl
functions calling the same dev_ifsioc{,_locked} functions.

	Arnd <><
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] net/core: split dev_ifsioc() according to locking, Arnd Bergmann, (Sat Oct 6, 8:17 pm)