|
@@ -5796,8 +5796,6 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb)
|
|
|
int queued = 0;
|
|
|
bool acceptable;
|
|
|
|
|
|
- tp->rx_opt.saw_tstamp = 0;
|
|
|
-
|
|
|
switch (sk->sk_state) {
|
|
|
case TCP_CLOSE:
|
|
|
goto discard;
|
|
@@ -5838,6 +5836,7 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb)
|
|
|
goto discard;
|
|
|
|
|
|
case TCP_SYN_SENT:
|
|
|
+ tp->rx_opt.saw_tstamp = 0;
|
|
|
queued = tcp_rcv_synsent_state_process(sk, skb, th);
|
|
|
if (queued >= 0)
|
|
|
return queued;
|
|
@@ -5849,6 +5848,7 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
+ tp->rx_opt.saw_tstamp = 0;
|
|
|
req = tp->fastopen_rsk;
|
|
|
if (req) {
|
|
|
WARN_ON_ONCE(sk->sk_state != TCP_SYN_RECV &&
|