tcp: MD5 operations should be const

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Stephen Hemminger 2009-09-01 19:25:03 +00:00 committed by David S. Miller
parent 98147d527a
commit b2e4b3debc
3 changed files with 10 additions and 10 deletions

View file

@ -233,7 +233,7 @@ struct tcp_request_sock {
struct inet_request_sock req;
#ifdef CONFIG_TCP_MD5SIG
/* Only used by TCP MD5 Signature so far. */
struct tcp_request_sock_ops *af_specific;
const struct tcp_request_sock_ops *af_specific;
#endif
u32 rcv_isn;
u32 snt_isn;
@ -401,9 +401,9 @@ struct tcp_sock {
#ifdef CONFIG_TCP_MD5SIG
/* TCP AF-Specific parts; only used by MD5 Signature support so far */
struct tcp_sock_af_ops *af_specific;
const struct tcp_sock_af_ops *af_specific;
/* TCP MD5 Signagure Option information */
/* TCP MD5 Signature Option information */
struct tcp_md5sig_info *md5sig_info;
#endif
};