aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/af_inet.c')
-rw-r--r--net/ipv4/af_inet.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index 97c276f95b3..454e523b506 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -802,6 +802,10 @@ const struct proto_ops inet_stream_ops = {
802 .shutdown = inet_shutdown, 802 .shutdown = inet_shutdown,
803 .setsockopt = sock_common_setsockopt, 803 .setsockopt = sock_common_setsockopt,
804 .getsockopt = sock_common_getsockopt, 804 .getsockopt = sock_common_getsockopt,
805#ifdef CONFIG_COMPAT
806 .compat_setsockopt = compat_sock_common_setsockopt,
807 .compat_getsockopt = compat_sock_common_getsockopt,
808#endif
805 .sendmsg = inet_sendmsg, 809 .sendmsg = inet_sendmsg,
806 .recvmsg = sock_common_recvmsg, 810 .recvmsg = sock_common_recvmsg,
807 .mmap = sock_no_mmap, 811 .mmap = sock_no_mmap,
@@ -823,6 +827,10 @@ const struct proto_ops inet_dgram_ops = {
823 .shutdown = inet_shutdown, 827 .shutdown = inet_shutdown,
824 .setsockopt = sock_common_setsockopt, 828 .setsockopt = sock_common_setsockopt,
825 .getsockopt = sock_common_getsockopt, 829 .getsockopt = sock_common_getsockopt,
830#ifdef CONFIG_COMPAT
831 .compat_setsockopt = compat_sock_common_setsockopt,
832 .compat_getsockopt = compat_sock_common_getsockopt,
833#endif
826 .sendmsg = inet_sendmsg, 834 .sendmsg = inet_sendmsg,
827 .recvmsg = sock_common_recvmsg, 835 .recvmsg = sock_common_recvmsg,
828 .mmap = sock_no_mmap, 836 .mmap = sock_no_mmap,
@@ -848,6 +856,10 @@ static const struct proto_ops inet_sockraw_ops = {
848 .shutdown = inet_shutdown, 856 .shutdown = inet_shutdown,
849 .setsockopt = sock_common_setsockopt, 857 .setsockopt = sock_common_setsockopt,
850 .getsockopt = sock_common_getsockopt, 858 .getsockopt = sock_common_getsockopt,
859#ifdef CONFIG_COMPAT
860 .compat_setsockopt = compat_sock_common_setsockopt,
861 .compat_getsockopt = compat_sock_common_getsockopt,
862#endif
851 .sendmsg = inet_sendmsg, 863 .sendmsg = inet_sendmsg,
852 .recvmsg = sock_common_recvmsg, 864 .recvmsg = sock_common_recvmsg,
853 .mmap = sock_no_mmap, 865 .mmap = sock_no_mmap,