tcp_reass_zone is not a VNET variable.
This fixes a panic during 'sysctl -a' on VIMAGE kernels. The tcp_reass_zone variable is not VNET_DEFINE() so we can not mark it as a VNET variable (with CTLFLAG_VNET).
This commit is contained in:
parent
f600d35fc1
commit
30edc5385e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286537
@ -84,7 +84,7 @@ SYSCTL_INT(_net_inet_tcp_reass, OID_AUTO, maxsegments, CTLFLAG_RDTUN,
|
||||
"Global maximum number of TCP Segments in Reassembly Queue");
|
||||
|
||||
static uma_zone_t tcp_reass_zone;
|
||||
SYSCTL_UMA_CUR(_net_inet_tcp_reass, OID_AUTO, cursegments, CTLFLAG_VNET,
|
||||
SYSCTL_UMA_CUR(_net_inet_tcp_reass, OID_AUTO, cursegments, 0,
|
||||
&tcp_reass_zone,
|
||||
"Global number of TCP Segments currently in Reassembly Queue");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user