aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ipv4/udplite.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-17 08:23:26 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-19 18:16:41 -0700
commitb6238c04c0e5dbe7ae4ea48e96e004905b120a04 (patch)
tree8d32716e5de35735c9201ad1f3b7177e581ba5ac /net/ipv4/udplite.c
parentnet/ipv4: factor out mcast join/leave setsockopt helpers (diff)
downloadwireguard-linux-b6238c04c0e5dbe7ae4ea48e96e004905b120a04.tar.xz
wireguard-linux-b6238c04c0e5dbe7ae4ea48e96e004905b120a04.zip
net/ipv4: remove compat_ip_{get,set}sockopt
Handle the few cases that need special treatment in-line using in_compat_syscall(). Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udplite.c')
-rw-r--r--net/ipv4/udplite.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c
index 5936d66d1ce2..bd8773b49e72 100644
--- a/net/ipv4/udplite.c
+++ b/net/ipv4/udplite.c
@@ -56,10 +56,6 @@ struct proto udplite_prot = {
.sysctl_mem = sysctl_udp_mem,
.obj_size = sizeof(struct udp_sock),
.h.udp_table = &udplite_table,
-#ifdef CONFIG_COMPAT
- .compat_setsockopt = compat_udp_setsockopt,
- .compat_getsockopt = compat_udp_getsockopt,
-#endif
};
EXPORT_SYMBOL(udplite_prot);