summaryrefslogtreecommitdiffstats
path: root/include/net/ipv6.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-05-18 08:28:06 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-19 02:35:02 +0200
commit3986912f6a9aae50945fc9d3513c621381eba1aa (patch)
tree059ca3049ba14c984fec240879f55397ad34ed79 /include/net/ipv6.h
parentipv6: lift copy_from_user out of ipv6_route_ioctl (diff)
downloadlinux-3986912f6a9aae50945fc9d3513c621381eba1aa.tar.xz
linux-3986912f6a9aae50945fc9d3513c621381eba1aa.zip
ipv6: move SIOCADDRT and SIOCDELRT handling into ->compat_ioctl
To prepare removing the global routing_ioctl hack start lifting the code into a newly added ipv6 ->compat_ioctl handler. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r--include/net/ipv6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index 955badd1e8ff..5fc3a9d7b053 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -1115,6 +1115,8 @@ int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len);
int inet6_getname(struct socket *sock, struct sockaddr *uaddr,
int peer);
int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
+int inet6_compat_ioctl(struct socket *sock, unsigned int cmd,
+ unsigned long arg);
int inet6_hash_connect(struct inet_timewait_death_row *death_row,
struct sock *sk);