mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 14:31:46 +00:00
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:
parent
98147d527a
commit
b2e4b3debc
3 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue