diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-01 14:03:10 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-01-25 01:13:45 +0100 |
commit | ca25c30040f93c127ff1651aa636c0174f1e0cdb (patch) | |
tree | 03025f47a77cbcb5dc28a4124a36301a9143958f /include/net/route.h | |
parent | devinet_ioctl(): take copyin/copyout to caller (diff) | |
download | linux-ca25c30040f93c127ff1651aa636c0174f1e0cdb.tar.xz linux-ca25c30040f93c127ff1651aa636c0174f1e0cdb.zip |
ip_rt_ioctl(): take copyin to caller
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/net/route.h')
-rw-r--r-- | include/net/route.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/route.h b/include/net/route.h index d538e6db1afe..1eb9ce470e25 100644 --- a/include/net/route.h +++ b/include/net/route.h @@ -217,7 +217,7 @@ unsigned int inet_addr_type_dev_table(struct net *net, const struct net_device *dev, __be32 addr); void ip_rt_multicast_event(struct in_device *); -int ip_rt_ioctl(struct net *, unsigned int cmd, void __user *arg); +int ip_rt_ioctl(struct net *, unsigned int cmd, struct rtentry *rt); void ip_rt_get_source(u8 *src, struct sk_buff *skb, struct rtable *rt); struct rtable *rt_dst_alloc(struct net_device *dev, unsigned int flags, u16 type, |