> From: "Stephen Suryaputra Lin" <stephen.suryaputra....@gmail.com> > To: netdev@vger.kernel.org > Sent: Friday, 23 June, 2017 3:58:17 PM > Subject: Faster TCP keepalive > > Greetings, > > I'm writing this to probe if there has been thoughts or efforts in > allowing sub-second TCP keep alive interval? One application is for TCP > connections between IP hosts connected by an internal backplane where a > faster detection is a necessity and the increased traffic can be > accommodated. > > Suggestions on other ways to quickly tearing down TCP connections to a > rebooted host in the application above are welcomed. >
For quickly tearing down TCP connections to a host that has been rebooted, avoiding e.g. waiting for TCP max retransmit count to be reached), you could use SOCK_DESTROY (as e.g. iproute2's "ss -K [ FILTER ]" does). Regards, Lance > Thank you, > > Stephen. >