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:
committed by
David S. Miller
parent
9efd3831d5
commit
a30aad50c2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user