aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-09-01 15:25:03 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-02 04:03:43 -0400
commitb2e4b3debc327a5b53d9622e0b1785eea2ea2aad (patch)
tree641e35a5d3b24d3d780259243173cf5b63bb9afd /net/ipv4/tcp_ipv4.c
parent98147d527a038c4aab599e57323a4e5d727c28a6 (diff)
tcp: MD5 operations should be const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
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,