summaryrefslogtreecommitdiffstats
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-09-01 19:25:03 +0000
committerDavid S. Miller <davem@davemloft.net>2009-09-02 01:03:43 -0700
commitb2e4b3debc327a5b53d9622e0b1785eea2ea2aad (patch)
tree641e35a5d3b24d3d780259243173cf5b63bb9afd /include/linux/tcp.h
parent98147d527a038c4aab599e57323a4e5d727c28a6 (diff)
downloadlinux-b2e4b3debc327a5b53d9622e0b1785eea2ea2aad.tar.gz
linux-b2e4b3debc327a5b53d9622e0b1785eea2ea2aad.tar.bz2
linux-b2e4b3debc327a5b53d9622e0b1785eea2ea2aad.zip
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 'include/linux/tcp.h')
-rw-r--r--include/linux/tcp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index 8afac76cd748..61723a7c21fe 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -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
};