Date: Wed, 15 Jun 2022 21:36:39 GMT From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: bf6c6162c763 - main - tcp: fix TCPPCAP for kernels enabling VNET Message-ID: <202206152136.25FLadpE072494@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=bf6c6162c7631b361f81e89b8539154dd738e828 commit bf6c6162c7631b361f81e89b8539154dd738e828 Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2022-06-15 21:28:54 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2022-06-15 21:28:54 +0000 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 --- sys/netinet/tcp_pcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/tcp_pcap.c b/sys/netinet/tcp_pcap.c index b387faada0ab..1faa1500ec5a 100644 --- a/sys/netinet/tcp_pcap.c +++ b/sys/netinet/tcp_pcap.c @@ -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. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206152136.25FLadpE072494>