|
@@ -432,10 +432,12 @@ static void tcp_tx_timestamp(struct sock *sk, struct sk_buff *skb)
|
|
{
|
|
{
|
|
if (sk->sk_tsflags) {
|
|
if (sk->sk_tsflags) {
|
|
struct skb_shared_info *shinfo = skb_shinfo(skb);
|
|
struct skb_shared_info *shinfo = skb_shinfo(skb);
|
|
|
|
+ struct tcp_skb_cb *tcb = TCP_SKB_CB(skb);
|
|
|
|
|
|
sock_tx_timestamp(sk, &shinfo->tx_flags);
|
|
sock_tx_timestamp(sk, &shinfo->tx_flags);
|
|
if (shinfo->tx_flags & SKBTX_ANY_TSTAMP)
|
|
if (shinfo->tx_flags & SKBTX_ANY_TSTAMP)
|
|
shinfo->tskey = TCP_SKB_CB(skb)->seq + skb->len - 1;
|
|
shinfo->tskey = TCP_SKB_CB(skb)->seq + skb->len - 1;
|
|
|
|
+ tcb->txstamp_ack = !!(shinfo->tx_flags & SKBTX_ACK_TSTAMP);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|