Re: [PATCH net] tcp: fastopen: tcp_connect() must refresh the route

2017-08-08 Thread David Miller
From: Eric Dumazet Date: Tue, 08 Aug 2017 01:41:58 -0700 > From: Eric Dumazet > > With new TCP_FASTOPEN_CONNECT socket option, there is a possibility > to call tcp_connect() while socket sk_dst_cache is either NULL > or invalid. > > +0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 4 > +0 fcntl(4,

Re: [PATCH net] tcp: fastopen: tcp_connect() must refresh the route

2017-08-08 Thread Yuchung Cheng
On Tue, Aug 8, 2017 at 1:41 AM, Eric Dumazet wrote: > From: Eric Dumazet > > With new TCP_FASTOPEN_CONNECT socket option, there is a possibility > to call tcp_connect() while socket sk_dst_cache is either NULL > or invalid. > > +0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 4 > +0 fcntl(4, F_SETFL,

Re: [PATCH net] tcp: fastopen: tcp_connect() must refresh the route

2017-08-08 Thread Wei Wang
On Tue, Aug 8, 2017 at 1:41 AM, Eric Dumazet wrote: > From: Eric Dumazet > > With new TCP_FASTOPEN_CONNECT socket option, there is a possibility > to call tcp_connect() while socket sk_dst_cache is either NULL > or invalid. > > +0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 4 > +0 fcntl(4, F_SETFL,