]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r356527-356528:
authorBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 28 Jan 2020 18:08:53 +0000 (18:08 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 28 Jan 2020 18:08:53 +0000 (18:08 +0000)
commitda858db310c4414a423f8e813ac82f781cb928c8
tree8b28e8335940006cdacffbfba628f1d863e595b0
parent2516ad04558abfabd40782342386cf1c2699f535
MFC r356527-356528:

  vnet: virtualise more network stack sysctls.

  Virtualise tcp_always_keepalive, TCP and UDP log_in_vain.  All three are
  set in the netoptions startup script, which we would love to run for VNETs
  as well.

  While virtualising the log_in_vain sysctls seems pointles at first for as
  long as the kernel message buffer is not virtualised, it at least allows
  an administrator to debug the base system or an individual jail if needed
  without turning the logging on for all jails running on a system.

  Run netoptions startup script in vnet jails.

  People use rc.conf inside vnet jails to configure networking setups.
  Presumably because some sysctl were not virtualised up until r356527 the
  script was not run for vnet jails leaving the rc.conf options without
  effect for non-obvious reasons.  Run the netoptions startup script also
  for VNET jails now to make the rc.conf options work.

PR: 243193
libexec/rc/rc.d/netoptions
sys/dev/cxgbe/tom/t4_tom.c
sys/netinet/tcp_input.c
sys/netinet/tcp_stacks/rack.c
sys/netinet/tcp_subr.c
sys/netinet/tcp_timer.c
sys/netinet/tcp_timer.h
sys/netinet/tcp_var.h
sys/netinet/udp_usrreq.c
sys/netinet/udp_var.h
sys/netinet6/udp6_usrreq.c