mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
tcp: rename *_sequence_number() to *_seq_and_tsoff()
The functions that are returning tcp sequence number also setup TS offset value, so rename them to better describe their purpose. No functional changes in this patch. Suggested-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9efd3831d5
commit
a30aad50c2
6 changed files with 34 additions and 35 deletions
|
@ -6324,7 +6324,7 @@ int tcp_conn_request(struct request_sock_ops *rsk_ops,
|
|||
goto drop_and_free;
|
||||
|
||||
if (isn && tmp_opt.tstamp_ok)
|
||||
af_ops->init_seq(skb, &tcp_rsk(req)->ts_off);
|
||||
af_ops->init_seq_tsoff(skb, &tcp_rsk(req)->ts_off);
|
||||
|
||||
if (!want_cookie && !isn) {
|
||||
/* VJ's idea. We save last timestamp seen
|
||||
|
@ -6366,7 +6366,7 @@ int tcp_conn_request(struct request_sock_ops *rsk_ops,
|
|||
goto drop_and_release;
|
||||
}
|
||||
|
||||
isn = af_ops->init_seq(skb, &tcp_rsk(req)->ts_off);
|
||||
isn = af_ops->init_seq_tsoff(skb, &tcp_rsk(req)->ts_off);
|
||||
}
|
||||
if (!dst) {
|
||||
dst = af_ops->route_req(sk, &fl, req, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue