Re: [PATCH] tcp: Reset tcp connections in SYN-SENT state

2021-04-09 Thread Eric Dumazet
On 4/5/21 7:02 PM, Manoj Basapathi wrote: > Userspace sends tcp connection (sock) destroy on network switch > i.e switching the default network of the device between multiple > networks(Cellular/Wifi/Ethernet). > > Kernel though doesn't send reset for the connections in SYN-SENT state > and the

[PATCH] tcp: Reset tcp connections in SYN-SENT state

2021-04-05 Thread Manoj Basapathi
Userspace sends tcp connection (sock) destroy on network switch i.e switching the default network of the device between multiple networks(Cellular/Wifi/Ethernet). Kernel though doesn't send reset for the connections in SYN-SENT state and these connections continue to remain. Even as per RFC 793, t

Re: [PATCH] tcp: Reset tcp connections in SYN-SENT state

2019-02-21 Thread Eric Dumazet
On Thu, Feb 21, 2019 at 3:01 AM Devi Sandeep Endluri V V wrote: > > On Wed, Feb 20, 2019 at 07:47:59AM -0800, Eric Dumazet wrote: > > On Wed, Feb 20, 2019 at 6:28 AM Devi Sandeep Endluri V V > > wrote: > > > > > > Userspace sends tcp connection (sock) destroy on network permission > > > change. K

Re: [PATCH] tcp: Reset tcp connections in SYN-SENT state

2019-02-21 Thread Devi Sandeep Endluri V V
On Wed, Feb 20, 2019 at 07:47:59AM -0800, Eric Dumazet wrote: > On Wed, Feb 20, 2019 at 6:28 AM Devi Sandeep Endluri V V > wrote: > > > > Userspace sends tcp connection (sock) destroy on network permission > > change. Kernel though doesn't send reset for the connections in > > SYN-SENT state and t

Re: [PATCH] tcp: Reset tcp connections in SYN-SENT state

2019-02-20 Thread Eric Dumazet
On Wed, Feb 20, 2019 at 6:28 AM Devi Sandeep Endluri V V wrote: > > Userspace sends tcp connection (sock) destroy on network permission > change. Kernel though doesn't send reset for the connections in > SYN-SENT state and these connections continue to remain. Even as > per RFC 793, there is no ha