kernel - Change tcp keepalive options from ms to seconds (DISRUPTIVE)
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 25 Jun 2019 17:33:22 +0000 (10:33 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 25 Jun 2019 17:33:22 +0000 (10:33 -0700)
commit21cc1bcd83e176f19a8cf97bb452bab8bc29b849
treebd3c290f5f53a201340cbda2520597fd642ba31e
parent3206d8877be9b4cfed19ba8b59f3b1933b91ca42
kernel - Change tcp keepalive options from ms to seconds (DISRUPTIVE)

* Change TCP_KEEPINIT, TCP_KEEPIDLE, and TCP_KEEPINTVL units from
  milliseconds to seconds, matching most other operating system
  distributions.

  This is after the Nth time we've hit problems porting applications.

* I've decided to make this change, even though it is disruptive
  (a significant API change).  It shouldn't effect most use cases
  and it fixes things like chromium without us having to continuously
  patch the chromium sources.

* Fixes numerous too-fast-a-timeout issues with chrome.
sys/netinet/tcp_usrreq.c