Re: [PATCH net-next 2/2] tcp: remove a redundant check for SKBTX_ACK_TSTAMP

2016-04-27 Thread Soheil Hassas Yeganeh
On Wed, Apr 27, 2016 at 2:19 PM, Martin KaFai Lau wrote: > On Mon, Apr 25, 2016 at 04:51:13PM -0400, Soheil Hassas Yeganeh wrote: >> From: Soheil Hassas Yeganeh >> >> txstamp_ack in tcp_skb_cb is set iff the SKBTX_ACK_TSTAMP >> flag is set for an skb. Thus, it is not required to check >> shinfo->

Re: [PATCH net-next 2/2] tcp: remove a redundant check for SKBTX_ACK_TSTAMP

2016-04-27 Thread Martin KaFai Lau
On Mon, Apr 25, 2016 at 04:51:13PM -0400, Soheil Hassas Yeganeh wrote: > From: Soheil Hassas Yeganeh > > txstamp_ack in tcp_skb_cb is set iff the SKBTX_ACK_TSTAMP > flag is set for an skb. Thus, it is not required to check > shinfo->tx_flags if the txstamp_ack bit is checked. > > Remove the check