[lkml]   [2002]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Start of cleaning up socket ioctls
On Thu, 2002-10-03 at 15:52, Matthew Wilcox wrote:
> All the ioctls are passed to the socket's ioctl methods, even when they're
> utterly generic. Here's a patch which starts to move the really generic
> ones up to the top level. As you can see, this eliminates a huge amount
> of code duplication.

Nice but one request - can you call the protocol handlers first and if
they return -ENOTTY then call the default ones provided by the upper
layer. That will let you remove even more common code to most versions,
make it work like the serial and other layers do, and still let people
override defaults

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:29    [W:0.062 / U:20.920 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site