Re: [PATCH net-next] net: loopback: clear skb->tstamp before netif_rx()

2018-10-20 Thread David Miller
From: Eric Dumazet Date: Fri, 19 Oct 2018 19:11:26 -0700 > At least UDP / TCP stacks can now cook skbs with a tstamp using > MONOTONIC base (or arbitrary values with SCM_TXTIME) > > Since loopback driver does not call (directly or indirectly) > skb_scrub_packet(), we need to clear skb->tstamp so

Re: [PATCH net-next] net: loopback: clear skb->tstamp before netif_rx()

2018-10-19 Thread Soheil Hassas Yeganeh
On Fri, Oct 19, 2018 at 10:11 PM Eric Dumazet wrote: > > At least UDP / TCP stacks can now cook skbs with a tstamp using > MONOTONIC base (or arbitrary values with SCM_TXTIME) > > Since loopback driver does not call (directly or indirectly) > skb_scrub_packet(), we need to clear skb->tstamp so tha

[PATCH net-next] net: loopback: clear skb->tstamp before netif_rx()

2018-10-19 Thread Eric Dumazet
At least UDP / TCP stacks can now cook skbs with a tstamp using MONOTONIC base (or arbitrary values with SCM_TXTIME) Since loopback driver does not call (directly or indirectly) skb_scrub_packet(), we need to clear skb->tstamp so that net_timestamp_check() can eventually resample the time, using k