On Wed, Mar 30, 2016 at 8:35 PM, Willem de Bruijn <willemdebruijn.ker...@gmail.com> wrote: > On Wed, Mar 30, 2016 at 6:37 PM, Soheil Hassas Yeganeh > <soheil.k...@gmail.com> wrote: >> From: Soheil Hassas Yeganeh <soh...@google.com> >> >> SOF_TIMESTAMPING_OPT_ID is set to get data-independent IDs >> to associate timestamps with send calls. For TCP connections, >> tp->snd_una is used as the starting point to calculate >> relative IDs. >> >> This socket option will fail if set before the handshake on a >> passive TCP fast open connection with data in SYN or SYN/ACK, >> since setsockopt requires the connection to be in the >> ESTABLISHED state. >> >> To address these, instead of limiting the option to the >> ESTABLISHED state, accept the SOF_TIMESTAMPING_OPT_ID option as >> long as the connection is not in LISTEN or CLOSE states. >> >> Signed-off-by: Soheil Hassas Yeganeh <soh...@google.com> > > Acked-by: Willem de Bruijn <will...@google.com> Acked-by: Yuchung Cheng <ych...@google.com>
- [PATCH net-next 7/8] sock: enable timestamping using... Soheil Hassas Yeganeh
- Re: [PATCH net-next 7/8] sock: enable timestamp... Willem de Bruijn
- [PATCH net-next 4/8] sock: accept SO_TIMESTAMPING fl... Soheil Hassas Yeganeh
- Re: [PATCH net-next 4/8] sock: accept SO_TIMEST... Willem de Bruijn
- [PATCH net-next 3/8] tcp: use one bit in TCP_SKB_CB ... Soheil Hassas Yeganeh
- Re: [PATCH net-next 3/8] tcp: use one bit in TC... Willem de Bruijn
- [PATCH net-next 5/8] ipv4: process socket-level cont... Soheil Hassas Yeganeh
- Re: [PATCH net-next 5/8] ipv4: process socket-l... Willem de Bruijn
- [PATCH net-next 2/8] tcp: accept SOF_TIMESTAMPING_OP... Soheil Hassas Yeganeh
- Re: [PATCH net-next 2/8] tcp: accept SOF_TIMEST... Willem de Bruijn
- Re: [PATCH net-next 2/8] tcp: accept SOF_TI... Yuchung Cheng
- [PATCH net-next 6/8] ipv6: process socket-level cont... Soheil Hassas Yeganeh
- Re: [PATCH net-next 6/8] ipv6: process socket-l... Willem de Bruijn
- Re: [PATCH net-next 0/8] add TX timestamping via cms... Martin KaFai Lau
- Re: [PATCH net-next 0/8] add TX timestamping vi... Soheil Hassas Yeganeh
- Re: [PATCH net-next 0/8] add TX timestampin... Willem de Bruijn
- Re: [PATCH net-next 0/8] add TX timesta... Martin KaFai Lau
- Re: [PATCH net-next 0/8] add TX tim... Willem de Bruijn