diff options
author | Al Viro | 2017-10-05 12:59:44 -0400 |
---|---|---|
committer | Al Viro | 2018-01-24 19:13:45 -0500 |
commit | 44c02a2c3dc55835e9f0d8ef73966406cd805001 (patch) | |
tree | e75ed9a07fdb0eae51502e0e62f57bb9cf870501 /include/linux/netdevice.h | |
parent | 6a88fbe7257282c19c777d5fe310166e5b3089e8 (diff) |
dev_ioctl(): move copyin/copyout to callers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index df5565d0369c..24a62d590350 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -3315,7 +3315,8 @@ int netdev_rx_handler_register(struct net_device *dev, void netdev_rx_handler_unregister(struct net_device *dev); bool dev_valid_name(const char *name); -int dev_ioctl(struct net *net, unsigned int cmd, void __user *); +int dev_ioctl(struct net *net, unsigned int cmd, struct ifreq *ifr, + bool *need_copyout); int dev_ifconf(struct net *net, struct ifconf *, int); int dev_ethtool(struct net *net, struct ifreq *); unsigned int dev_get_flags(const struct net_device *); |