Re: [PATCH net] tun: fix transmit timestamp support

2016-08-23 Thread David Miller
From: Soheil Hassas Yeganeh Date: Tue, 23 Aug 2016 18:22:33 -0400 > From: Soheil Hassas Yeganeh > > Instead of using sock_tx_timestamp, use skb_tx_timestamp to record > software transmit timestamp of a packet. > > sock_tx_timestamp resets and overrides the tx_flags of the skb. > The function i

Re: [PATCH net] tun: fix transmit timestamp support

2016-08-23 Thread Eric Dumazet
On Tue, 2016-08-23 at 18:22 -0400, Soheil Hassas Yeganeh wrote: > From: Soheil Hassas Yeganeh > > Instead of using sock_tx_timestamp, use skb_tx_timestamp to record > software transmit timestamp of a packet. > > sock_tx_timestamp resets and overrides the tx_flags of the skb. > The function is in

[PATCH net] tun: fix transmit timestamp support

2016-08-23 Thread Soheil Hassas Yeganeh
From: Soheil Hassas Yeganeh Instead of using sock_tx_timestamp, use skb_tx_timestamp to record software transmit timestamp of a packet. sock_tx_timestamp resets and overrides the tx_flags of the skb. The function is intended to be called from within the protocol layer when creating the skb, not