|
@@ -237,7 +237,6 @@ void tcp_time_wait(struct sock *sk, int state, int timeo);
|
|
|
|
|
|
|
|
|
|
/* sysctl variables for tcp */
|
|
/* sysctl variables for tcp */
|
|
-extern int sysctl_tcp_timestamps;
|
|
|
|
extern int sysctl_tcp_fastopen;
|
|
extern int sysctl_tcp_fastopen;
|
|
extern int sysctl_tcp_retrans_collapse;
|
|
extern int sysctl_tcp_retrans_collapse;
|
|
extern int sysctl_tcp_stdurg;
|
|
extern int sysctl_tcp_stdurg;
|
|
@@ -1869,7 +1868,7 @@ struct tcp_request_sock_ops {
|
|
struct dst_entry *(*route_req)(const struct sock *sk, struct flowi *fl,
|
|
struct dst_entry *(*route_req)(const struct sock *sk, struct flowi *fl,
|
|
const struct request_sock *req);
|
|
const struct request_sock *req);
|
|
u32 (*init_seq)(const struct sk_buff *skb);
|
|
u32 (*init_seq)(const struct sk_buff *skb);
|
|
- u32 (*init_ts_off)(const struct sk_buff *skb);
|
|
|
|
|
|
+ u32 (*init_ts_off)(const struct net *net, const struct sk_buff *skb);
|
|
int (*send_synack)(const struct sock *sk, struct dst_entry *dst,
|
|
int (*send_synack)(const struct sock *sk, struct dst_entry *dst,
|
|
struct flowi *fl, struct request_sock *req,
|
|
struct flowi *fl, struct request_sock *req,
|
|
struct tcp_fastopen_cookie *foc,
|
|
struct tcp_fastopen_cookie *foc,
|