projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2329f1
)
tcp: use tp->tcp_mstamp in tcp_clean_rtx_queue()
author
Eric Dumazet
<
[email protected]
>
Tue, 25 Apr 2017 17:15:39 +0000
(10:15 -0700)
committer
David S. Miller
<
[email protected]
>
Wed, 26 Apr 2017 18:44:38 +0000
(14:44 -0400)
Following patch will remove ack_time from struct tcp_sacktag_state
Same info is now found in tp->tcp_mstamp
Signed-off-by: Eric Dumazet <
[email protected]
>
Acked-by: Soheil Hassas Yeganeh <
[email protected]
>
Acked-by: Neal Cardwell <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv4/tcp_input.c
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp_input.c
b/net/ipv4/tcp_input.c
index 5485204853d3aefaea5027bcf6480ed20a1e8efa..f4e1836c696c9a45a545a32de8ba62ce3bd0dc12 100644
(file)
--- a/
net/ipv4/tcp_input.c
+++ b/
net/ipv4/tcp_input.c
@@
-3056,8
+3056,8
@@
static int tcp_clean_rtx_queue(struct sock *sk, int prior_fackets,
{
const struct inet_connection_sock *icsk = inet_csk(sk);
struct skb_mstamp first_ackt, last_ackt;
- struct skb_mstamp *now = &sack->ack_time;
struct tcp_sock *tp = tcp_sk(sk);
+ struct skb_mstamp *now = &tp->tcp_mstamp;
u32 prior_sacked = tp->sacked_out;
u32 reord = tp->packets_out;
bool fully_acked = true;