diff options
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index af6a0c60f903..2f8975e0150a 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -1308,6 +1308,10 @@ static struct inet_connection_sock_af_ops ipv6_specific = { | |||
1308 | 1308 | ||
1309 | .setsockopt = ipv6_setsockopt, | 1309 | .setsockopt = ipv6_setsockopt, |
1310 | .getsockopt = ipv6_getsockopt, | 1310 | .getsockopt = ipv6_getsockopt, |
1311 | #ifdef CONFIG_COMPAT | ||
1312 | .compat_setsockopt = compat_ipv6_setsockopt, | ||
1313 | .compat_getsockopt = compat_ipv6_getsockopt, | ||
1314 | #endif | ||
1311 | .addr2sockaddr = inet6_csk_addr2sockaddr, | 1315 | .addr2sockaddr = inet6_csk_addr2sockaddr, |
1312 | .sockaddr_len = sizeof(struct sockaddr_in6) | 1316 | .sockaddr_len = sizeof(struct sockaddr_in6) |
1313 | }; | 1317 | }; |
@@ -1327,6 +1331,10 @@ static struct inet_connection_sock_af_ops ipv6_mapped = { | |||
1327 | 1331 | ||
1328 | .setsockopt = ipv6_setsockopt, | 1332 | .setsockopt = ipv6_setsockopt, |
1329 | .getsockopt = ipv6_getsockopt, | 1333 | .getsockopt = ipv6_getsockopt, |
1334 | #ifdef CONFIG_COMPAT | ||
1335 | .compat_setsockopt = compat_ipv6_setsockopt, | ||
1336 | .compat_getsockopt = compat_ipv6_getsockopt, | ||
1337 | #endif | ||
1330 | .addr2sockaddr = inet6_csk_addr2sockaddr, | 1338 | .addr2sockaddr = inet6_csk_addr2sockaddr, |
1331 | .sockaddr_len = sizeof(struct sockaddr_in6) | 1339 | .sockaddr_len = sizeof(struct sockaddr_in6) |
1332 | }; | 1340 | }; |
@@ -1566,6 +1574,10 @@ struct proto tcpv6_prot = { | |||
1566 | .shutdown = tcp_shutdown, | 1574 | .shutdown = tcp_shutdown, |
1567 | .setsockopt = tcp_setsockopt, | 1575 | .setsockopt = tcp_setsockopt, |
1568 | .getsockopt = tcp_getsockopt, | 1576 | .getsockopt = tcp_getsockopt, |
1577 | #ifdef CONFIG_COMPAT | ||
1578 | .compat_setsockopt = compat_tcp_setsockopt, | ||
1579 | .compat_getsockopt = compat_tcp_getsockopt, | ||
1580 | #endif | ||
1569 | .sendmsg = tcp_sendmsg, | 1581 | .sendmsg = tcp_sendmsg, |
1570 | .recvmsg = tcp_recvmsg, | 1582 | .recvmsg = tcp_recvmsg, |
1571 | .backlog_rcv = tcp_v6_do_rcv, | 1583 | .backlog_rcv = tcp_v6_do_rcv, |