Re: [PATCH net] tcp: fix keepalive when data remain undelivered

2021-02-19 Thread Yuchung Cheng
On Fri, Feb 19, 2021 at 4:54 PM Enke Chen wrote: > > From: Enke Chen > > TCP keepalive does not timeout under the condition that network connection > is lost and data remain undelivered (incl. retransmit). A very simple > scenarios of the failure is to write data to a tcp socket after the

[PATCH net] tcp: fix keepalive when data remain undelivered

2021-02-19 Thread Enke Chen
From: Enke Chen TCP keepalive does not timeout under the condition that network connection is lost and data remain undelivered (incl. retransmit). A very simple scenarios of the failure is to write data to a tcp socket after the network connection is lost. Under the specified condition the