diff options
Diffstat (limited to 'net/sctp/ipv6.c')
-rw-r--r-- | net/sctp/ipv6.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index 2e266129a764..bbee14d01c9b 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c | |||
@@ -875,6 +875,10 @@ static const struct proto_ops inet6_seqpacket_ops = { | |||
875 | .shutdown = inet_shutdown, | 875 | .shutdown = inet_shutdown, |
876 | .setsockopt = sock_common_setsockopt, | 876 | .setsockopt = sock_common_setsockopt, |
877 | .getsockopt = sock_common_getsockopt, | 877 | .getsockopt = sock_common_getsockopt, |
878 | #ifdef CONFIG_COMPAT | ||
879 | .compat_setsockopt = compat_sock_common_setsockopt, | ||
880 | .compat_getsockopt = compat_sock_common_getsockopt, | ||
881 | #endif | ||
878 | .sendmsg = inet_sendmsg, | 882 | .sendmsg = inet_sendmsg, |
879 | .recvmsg = sock_common_recvmsg, | 883 | .recvmsg = sock_common_recvmsg, |
880 | .mmap = sock_no_mmap, | 884 | .mmap = sock_no_mmap, |
@@ -914,6 +918,10 @@ static struct sctp_af sctp_ipv6_specific = { | |||
914 | .sctp_xmit = sctp_v6_xmit, | 918 | .sctp_xmit = sctp_v6_xmit, |
915 | .setsockopt = ipv6_setsockopt, | 919 | .setsockopt = ipv6_setsockopt, |
916 | .getsockopt = ipv6_getsockopt, | 920 | .getsockopt = ipv6_getsockopt, |
921 | #ifdef CONFIG_COMPAT | ||
922 | .compat_setsockopt = compat_ipv6_setsockopt, | ||
923 | .compat_getsockopt = compat_ipv6_getsockopt, | ||
924 | #endif | ||
917 | .get_dst = sctp_v6_get_dst, | 925 | .get_dst = sctp_v6_get_dst, |
918 | .get_saddr = sctp_v6_get_saddr, | 926 | .get_saddr = sctp_v6_get_saddr, |
919 | .copy_addrlist = sctp_v6_copy_addrlist, | 927 | .copy_addrlist = sctp_v6_copy_addrlist, |