commit | 2fd66ffba50716fc5ab481c48db643af3bda2276 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Sep 21 08:51:47 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 21 19:37:59 2018 -0700 |
tree | 0429f0bb89fa036d79e9b9d2105f89c0a3e38ca0 | |
parent | 72b0094f918294e6cb8cf5c3b4520d928fbb1a57 [diff] |
tcp: introduce tcp_skb_timestamp_us() helper There are few places where TCP reads skb->skb_mstamp expecting a value in usec unit. skb->tstamp (aka skb->skb_mstamp) will soon store CLOCK_TAI nsec value. Add tcp_skb_timestamp_us() to provide proper conversion when needed. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>