aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-07-17 06:23:26 +0000
committerDavid S. Miller <[email protected]>2020-07-20 01:16:41 +0000
commitb6238c04c0e5dbe7ae4ea48e96e004905b120a04 (patch)
tree8d32716e5de35735c9201ad1f3b7177e581ba5ac /net/ipv4/tcp_ipv4.c
parentnet/ipv4: factor out mcast join/leave setsockopt helpers (diff)
downloadkernel-b6238c04c0e5dbe7ae4ea48e96e004905b120a04.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r--net/ipv4/tcp_ipv4.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 116c11a0aaed..e5b7ef9a2887 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -2134,10 +2134,6 @@ const struct inet_connection_sock_af_ops ipv4_specific = {
.getsockopt = ip_getsockopt,
.addr2sockaddr = inet_csk_addr2sockaddr,
.sockaddr_len = sizeof(struct sockaddr_in),
-#ifdef CONFIG_COMPAT
- .compat_setsockopt = compat_ip_setsockopt,
- .compat_getsockopt = compat_ip_getsockopt,
-#endif
.mtu_reduced = tcp_v4_mtu_reduced,
};
EXPORT_SYMBOL(ipv4_specific);