diff options
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
| -rw-r--r-- | net/ipv6/tcp_ipv6.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index eadbc584e919..d73617e9708e 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
| @@ -75,8 +75,8 @@ static void tcp_v6_reqsk_send_ack(struct sock *sk, struct sk_buff *skb, | |||
| 75 | 75 | ||
| 76 | static int tcp_v6_do_rcv(struct sock *sk, struct sk_buff *skb); | 76 | static int tcp_v6_do_rcv(struct sock *sk, struct sk_buff *skb); |
| 77 | 77 | ||
| 78 | static struct inet_connection_sock_af_ops ipv6_mapped; | 78 | static const struct inet_connection_sock_af_ops ipv6_mapped; |
| 79 | static struct inet_connection_sock_af_ops ipv6_specific; | 79 | static const struct inet_connection_sock_af_ops ipv6_specific; |
| 80 | #ifdef CONFIG_TCP_MD5SIG | 80 | #ifdef CONFIG_TCP_MD5SIG |
| 81 | static const struct tcp_sock_af_ops tcp_sock_ipv6_specific; | 81 | static const struct tcp_sock_af_ops tcp_sock_ipv6_specific; |
| 82 | static const struct tcp_sock_af_ops tcp_sock_ipv6_mapped_specific; | 82 | static const struct tcp_sock_af_ops tcp_sock_ipv6_mapped_specific; |
| @@ -1760,7 +1760,7 @@ static int tcp_v6_remember_stamp(struct sock *sk) | |||
| 1760 | return 0; | 1760 | return 0; |
| 1761 | } | 1761 | } |
| 1762 | 1762 | ||
| 1763 | static struct inet_connection_sock_af_ops ipv6_specific = { | 1763 | static const struct inet_connection_sock_af_ops ipv6_specific = { |
| 1764 | .queue_xmit = inet6_csk_xmit, | 1764 | .queue_xmit = inet6_csk_xmit, |
| 1765 | .send_check = tcp_v6_send_check, | 1765 | .send_check = tcp_v6_send_check, |
| 1766 | .rebuild_header = inet6_sk_rebuild_header, | 1766 | .rebuild_header = inet6_sk_rebuild_header, |
| @@ -1792,7 +1792,7 @@ static const struct tcp_sock_af_ops tcp_sock_ipv6_specific = { | |||
| 1792 | * TCP over IPv4 via INET6 API | 1792 | * TCP over IPv4 via INET6 API |
| 1793 | */ | 1793 | */ |
| 1794 | 1794 | ||
| 1795 | static struct inet_connection_sock_af_ops ipv6_mapped = { | 1795 | static const struct inet_connection_sock_af_ops ipv6_mapped = { |
| 1796 | .queue_xmit = ip_queue_xmit, | 1796 | .queue_xmit = ip_queue_xmit, |
| 1797 | .send_check = tcp_v4_send_check, | 1797 | .send_check = tcp_v4_send_check, |
| 1798 | .rebuild_header = inet_sk_rebuild_header, | 1798 | .rebuild_header = inet_sk_rebuild_header, |
