aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r--net/ipv4/tcp_ipv4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 6755e29a6dd3..3efbe94f022b 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -1195,7 +1195,7 @@ struct request_sock_ops tcp_request_sock_ops __read_mostly = {
1195}; 1195};
1196 1196
1197#ifdef CONFIG_TCP_MD5SIG 1197#ifdef CONFIG_TCP_MD5SIG
1198static struct tcp_request_sock_ops tcp_request_sock_ipv4_ops = { 1198static const struct tcp_request_sock_ops tcp_request_sock_ipv4_ops = {
1199 .md5_lookup = tcp_v4_reqsk_md5_lookup, 1199 .md5_lookup = tcp_v4_reqsk_md5_lookup,
1200 .calc_md5_hash = tcp_v4_md5_hash_skb, 1200 .calc_md5_hash = tcp_v4_md5_hash_skb,
1201}; 1201};
@@ -1774,7 +1774,7 @@ struct inet_connection_sock_af_ops ipv4_specific = {
1774}; 1774};
1775 1775
1776#ifdef CONFIG_TCP_MD5SIG 1776#ifdef CONFIG_TCP_MD5SIG
1777static struct tcp_sock_af_ops tcp_sock_ipv4_specific = { 1777static const struct tcp_sock_af_ops tcp_sock_ipv4_specific = {
1778 .md5_lookup = tcp_v4_md5_lookup, 1778 .md5_lookup = tcp_v4_md5_lookup,
1779 .calc_md5_hash = tcp_v4_md5_hash_skb, 1779 .calc_md5_hash = tcp_v4_md5_hash_skb,
1780 .md5_add = tcp_v4_md5_add_func, 1780 .md5_add = tcp_v4_md5_add_func,