diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-18 09:28:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-19 03:35:02 +0300 |
commit | 3986912f6a9aae50945fc9d3513c621381eba1aa (patch) | |
tree | 059ca3049ba14c984fec240879f55397ad34ed79 /net/l2tp | |
parent | 7c1552da900c159a13473a2106c7547746ebe4a1 (diff) | |
download | linux-3986912f6a9aae50945fc9d3513c621381eba1aa.tar.xz |
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 'net/l2tp')
-rw-r--r-- | net/l2tp/l2tp_ip6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/l2tp/l2tp_ip6.c b/net/l2tp/l2tp_ip6.c index d148766f40d1..fdfef926c591 100644 --- a/net/l2tp/l2tp_ip6.c +++ b/net/l2tp/l2tp_ip6.c @@ -758,6 +758,7 @@ static const struct proto_ops l2tp_ip6_ops = { .mmap = sock_no_mmap, .sendpage = sock_no_sendpage, #ifdef CONFIG_COMPAT + .compat_ioctl = inet6_compat_ioctl, .compat_setsockopt = compat_sock_common_setsockopt, .compat_getsockopt = compat_sock_common_getsockopt, #endif |