Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2020 10:00:13 +0000 (UTC)
From:      Tom Jones <thj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r363414 - stable/12/sys/netpfil/ipfw
Message-ID:  <202007221000.06MA0Dmq047494@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thj
Date: Wed Jul 22 10:00:13 2020
New Revision: 363414
URL: https://svnweb.freebsd.org/changeset/base/363414

Log:
  MFC r363141:
  
  Don't print VNET pointer when initializing dummynet
  
  When dummynet initializes it prints a debug message with the current VNET
  pointer unnecessarily revealing kernel memory layout. This appears to be left
  over from when the first pieces of vimage support were added.
  
  PR:		238658
  Submitted by:	huangfq.daxian@gmail.com
  Reviewed by:	markj, bz, gnn, kp, melifaro
  Approved by:	jtl (co-mentor), bz (co-mentor)
  Event:		July 2020 Bugathon
  Differential Revision:	https://reviews.freebsd.org/D25619

Modified:
  stable/12/sys/netpfil/ipfw/ip_dummynet.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/netpfil/ipfw/ip_dummynet.c
==============================================================================
--- stable/12/sys/netpfil/ipfw/ip_dummynet.c	Wed Jul 22 06:47:38 2020	(r363413)
+++ stable/12/sys/netpfil/ipfw/ip_dummynet.c	Wed Jul 22 10:00:13 2020	(r363414)
@@ -2511,7 +2511,6 @@ ip_dn_init(void)
 {
 	if (dn_cfg.init_done)
 		return;
-	printf("DUMMYNET %p with IPv6 initialized (100409)\n", curvnet);
 	dn_cfg.init_done = 1;
 	/* Set defaults here. MSVC does not accept initializers,
 	 * and this is also useful for vimages



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007221000.06MA0Dmq047494>