]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 328608: Export tcp_always_keepalive for use by the Chelsio TOM module.
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 3 Mar 2018 00:54:12 +0000 (00:54 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 3 Mar 2018 00:54:12 +0000 (00:54 +0000)
commit534b07cdfd5d33844774334657372c43e01f754a
tree834103ab26b5d72148dff46ac3a26b6300692017
parent516a1bbf6f24c2788a052a8cad63c0c17a50f856
MFC 328608: Export tcp_always_keepalive for use by the Chelsio TOM module.

This used to work by accident with ld.bfd even though always_keepalive
was marked as static. LLD honors static more correctly, so export this
variable properly (including moving it into the tcp_* namespace).

Relative to HEAD the MFC includes two additional changes:
- The t3_tom module used for cxgb(4) is also patched.
- A strong reference from the new name (tcp_always_keepalive) to the old
  name (always_keepalive) has been added to preserve the KBI for existing
  modules.

Suggested by: kib (strong reference)
Sponsored by: Chelsio Communications

git-svn-id: svn://svn.freebsd.org/base/stable/10@330303 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
sys/dev/cxgbe/tom/t4_tom.c
sys/netinet/tcp_timer.c
sys/netinet/tcp_timer.h