From: Christoph Hellwig Date: Tue, 3 Jan 2006 22:18:33 +0000 (-0800) Subject: [NET]: Add a dev_ioctl() fallback to sock_ioctl() X-Git-Tag: v2.6.16-rc1~474^2~22^2~9^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5e5fa5e093e42cab4ee3d6dcbc4f450ad29a723;p=pandora-kernel.git [NET]: Add a dev_ioctl() fallback to sock_ioctl() Currently all network protocols need to call dev_ioctl as the default fallback in their ioctl implementations. This patch adds a fallback to dev_ioctl to sock_ioctl if the protocol returned -ENOIOCTLCMD. This way all the procotol ioctl handlers can be simplified and we don't need to export dev_ioctl. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller --- Reading git-diff-tree failed