mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-05 12:56:08 +00:00
tcp: fix TCPPCAP for kernels enabling VNET
Reviewed by: rscheff MFC after: 3 days Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D35503
This commit is contained in:
parent
8f892e9bee
commit
bf6c6162c7
@ -75,7 +75,7 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_pcap_alloc_new_mbuf,
|
||||
VNET_DEFINE(int, tcp_pcap_packets) = 0;
|
||||
#define V_tcp_pcap_packets VNET(tcp_pcap_packets)
|
||||
SYSCTL_INT(_net_inet_tcp, OID_AUTO, tcp_pcap_packets,
|
||||
CTLFLAG_RW, &VNET_NAME(tcp_pcap_packets), 0,
|
||||
CTLFLAG_VNET | CTLFLAG_RW, &VNET_NAME(tcp_pcap_packets), 0,
|
||||
"Default number of packets saved per direction per TCPCB");
|
||||
|
||||
/* Initialize the values. */
|
||||
|
Loading…
Reference in New Issue
Block a user