aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r--net/sctp/protocol.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
index de693b43c8ea..d90f5491870f 100644
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -845,6 +845,10 @@ static const struct proto_ops inet_seqpacket_ops = {
845 .shutdown = inet_shutdown, /* Looks harmless. */ 845 .shutdown = inet_shutdown, /* Looks harmless. */
846 .setsockopt = sock_common_setsockopt, /* IP_SOL IP_OPTION is a problem. */ 846 .setsockopt = sock_common_setsockopt, /* IP_SOL IP_OPTION is a problem. */
847 .getsockopt = sock_common_getsockopt, 847 .getsockopt = sock_common_getsockopt,
848#ifdef CONFIG_COMPAT
849 .compat_setsockopt = compat_sock_common_setsockopt,
850 .compat_getsockopt = compat_sock_common_getsockopt,
851#endif
848 .sendmsg = inet_sendmsg, 852 .sendmsg = inet_sendmsg,
849 .recvmsg = sock_common_recvmsg, 853 .recvmsg = sock_common_recvmsg,
850 .mmap = sock_no_mmap, 854 .mmap = sock_no_mmap,
@@ -883,6 +887,10 @@ static struct sctp_af sctp_ipv4_specific = {
883 .sctp_xmit = sctp_v4_xmit, 887 .sctp_xmit = sctp_v4_xmit,
884 .setsockopt = ip_setsockopt, 888 .setsockopt = ip_setsockopt,
885 .getsockopt = ip_getsockopt, 889 .getsockopt = ip_getsockopt,
890#ifdef CONFIG_COMPAT
891 .compat_setsockopt = compat_ip_setsockopt,
892 .compat_getsockopt = compat_ip_getsockopt,
893#endif
886 .get_dst = sctp_v4_get_dst, 894 .get_dst = sctp_v4_get_dst,
887 .get_saddr = sctp_v4_get_saddr, 895 .get_saddr = sctp_v4_get_saddr,
888 .copy_addrlist = sctp_v4_copy_addrlist, 896 .copy_addrlist = sctp_v4_copy_addrlist,