diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-09-01 19:25:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 01:03:43 -0700 |
commit | b2e4b3debc327a5b53d9622e0b1785eea2ea2aad (patch) | |
tree | 641e35a5d3b24d3d780259243173cf5b63bb9afd /net/ipv4 | |
parent | 98147d527a038c4aab599e57323a4e5d727c28a6 (diff) | |
download | kernel_samsung_smdk4412-b2e4b3debc327a5b53d9622e0b1785eea2ea2aad.zip kernel_samsung_smdk4412-b2e4b3debc327a5b53d9622e0b1785eea2ea2aad.tar.gz kernel_samsung_smdk4412-b2e4b3debc327a5b53d9622e0b1785eea2ea2aad.tar.bz2 |
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')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 6755e29..3efbe94 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 = { }; #ifdef CONFIG_TCP_MD5SIG -static struct tcp_request_sock_ops tcp_request_sock_ipv4_ops = { +static const struct tcp_request_sock_ops tcp_request_sock_ipv4_ops = { .md5_lookup = tcp_v4_reqsk_md5_lookup, .calc_md5_hash = tcp_v4_md5_hash_skb, }; @@ -1774,7 +1774,7 @@ struct inet_connection_sock_af_ops ipv4_specific = { }; #ifdef CONFIG_TCP_MD5SIG -static struct tcp_sock_af_ops tcp_sock_ipv4_specific = { +static const struct tcp_sock_af_ops tcp_sock_ipv4_specific = { .md5_lookup = tcp_v4_md5_lookup, .calc_md5_hash = tcp_v4_md5_hash_skb, .md5_add = tcp_v4_md5_add_func, |