diff options
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r-- | net/dccp/ipv6.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index 3e70faab2989..64f011cc4491 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c | |||
@@ -35,8 +35,8 @@ | |||
35 | 35 | ||
36 | /* The per-net dccp.v6_ctl_sk is used for sending RSTs and ACKs */ | 36 | /* The per-net dccp.v6_ctl_sk is used for sending RSTs and ACKs */ |
37 | 37 | ||
38 | static struct inet_connection_sock_af_ops dccp_ipv6_mapped; | 38 | static const struct inet_connection_sock_af_ops dccp_ipv6_mapped; |
39 | static struct inet_connection_sock_af_ops dccp_ipv6_af_ops; | 39 | static const struct inet_connection_sock_af_ops dccp_ipv6_af_ops; |
40 | 40 | ||
41 | static void dccp_v6_hash(struct sock *sk) | 41 | static void dccp_v6_hash(struct sock *sk) |
42 | { | 42 | { |
@@ -1055,7 +1055,7 @@ failure: | |||
1055 | return err; | 1055 | return err; |
1056 | } | 1056 | } |
1057 | 1057 | ||
1058 | static struct inet_connection_sock_af_ops dccp_ipv6_af_ops = { | 1058 | static const struct inet_connection_sock_af_ops dccp_ipv6_af_ops = { |
1059 | .queue_xmit = inet6_csk_xmit, | 1059 | .queue_xmit = inet6_csk_xmit, |
1060 | .send_check = dccp_v6_send_check, | 1060 | .send_check = dccp_v6_send_check, |
1061 | .rebuild_header = inet6_sk_rebuild_header, | 1061 | .rebuild_header = inet6_sk_rebuild_header, |
@@ -1076,7 +1076,7 @@ static struct inet_connection_sock_af_ops dccp_ipv6_af_ops = { | |||
1076 | /* | 1076 | /* |
1077 | * DCCP over IPv4 via INET6 API | 1077 | * DCCP over IPv4 via INET6 API |
1078 | */ | 1078 | */ |
1079 | static struct inet_connection_sock_af_ops dccp_ipv6_mapped = { | 1079 | static const struct inet_connection_sock_af_ops dccp_ipv6_mapped = { |
1080 | .queue_xmit = ip_queue_xmit, | 1080 | .queue_xmit = ip_queue_xmit, |
1081 | .send_check = dccp_v4_send_check, | 1081 | .send_check = dccp_v4_send_check, |
1082 | .rebuild_header = inet_sk_rebuild_header, | 1082 | .rebuild_header = inet_sk_rebuild_header, |