summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorAl Viro2017-10-02 02:13:08 +0200
committerAl Viro2018-01-25 01:13:45 +0100
commitb1b0c245067268043e0e832432f3d537a5cae33b (patch)
tree7ded461ec00dc15af031544a1c5e8bbb3586902d /net/socket.c
parentkill dev_ifname32() (diff)
downloadkernel-qcow2-linux-b1b0c245067268043e0e832432f3d537a5cae33b.tar.gz
kernel-qcow2-linux-b1b0c245067268043e0e832432f3d537a5cae33b.tar.xz
kernel-qcow2-linux-b1b0c245067268043e0e832432f3d537a5cae33b.zip
lift handling of SIOCIW... out of dev_ioctl()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index 026271ff2853..1ad02d9edbef 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -1005,7 +1005,7 @@ static long sock_ioctl(struct file *file, unsigned cmd, unsigned long arg)
} else
#ifdef CONFIG_WEXT_CORE
if (cmd >= SIOCIWFIRST && cmd <= SIOCIWLAST) {
- err = dev_ioctl(net, cmd, argp);
+ err = wext_handle_ioctl(net, cmd, argp);
} else
#endif
switch (cmd) {