diff options
| author | Stephen Hemminger <shemminger@osdl.org> | 2006-01-09 18:56:09 -0500 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-10 15:54:26 -0500 |
| commit | 770cfbcffdf0011ecf3a12435ecb5604c4c97a19 (patch) | |
| tree | f5e713bf381e5084376afc2216cfe7a2bc320bc6 | |
| parent | 49cd619c69d643b30a24029e40eb5364c7a26b2e (diff) | |
[INET]: congestion and af_ops can be const
The congestion ops and af_ops in the inet_connection_sock
can be const.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | include/net/inet_connection_sock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index 50234fa56a68..fa587c94e9d0 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
| @@ -83,8 +83,8 @@ struct inet_connection_sock { | |||
| 83 | struct timer_list icsk_delack_timer; | 83 | struct timer_list icsk_delack_timer; |
| 84 | __u32 icsk_rto; | 84 | __u32 icsk_rto; |
| 85 | __u32 icsk_pmtu_cookie; | 85 | __u32 icsk_pmtu_cookie; |
| 86 | struct tcp_congestion_ops *icsk_ca_ops; | 86 | const struct tcp_congestion_ops *icsk_ca_ops; |
| 87 | struct inet_connection_sock_af_ops *icsk_af_ops; | 87 | const struct inet_connection_sock_af_ops *icsk_af_ops; |
| 88 | unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu); | 88 | unsigned int (*icsk_sync_mss)(struct sock *sk, u32 pmtu); |
| 89 | __u8 icsk_ca_state; | 89 | __u8 icsk_ca_state; |
| 90 | __u8 icsk_retransmits; | 90 | __u8 icsk_retransmits; |
