]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Export tcp_always_keepalive for use by the Chelsio TOM module.
authorjhb <jhb@FreeBSD.org>
Tue, 30 Jan 2018 23:01:37 +0000 (23:01 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 30 Jan 2018 23:01:37 +0000 (23:01 +0000)
commit3df465f54f7c3d0bf8e9bf29d1cb496262add953
tree0a8ad9b764d369c21936599174240a305d07f66b
parent4a4bfa321fad266b386d9a03d08fc42e8faccbe4
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).

Reviewed by: bz, emaste
MFC after: 2 weeks
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D14129
sys/dev/cxgbe/tom/t4_tom.c
sys/netinet/tcp_timer.c
sys/netinet/tcp_timer.h